diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-07-27 12:44:58 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-07-27 12:44:58 +0100 |
commit | 6142de393fe34ff0866f8489f1292eb473276f11 (patch) | |
tree | 57615973e618ecd7aac697e2553d08ab5ebb821d /src/gallium/drivers/softpipe/sp_state_derived.c | |
parent | c61145820556833dccd728eb6df3397bec7f70da (diff) |
softpipe: example fast paths for simple samplers
All these fastpaths are examples of the types of things we'd code-generate
in a more sophisticated version of softpipe.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state_derived.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_derived.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_derived.c b/src/gallium/drivers/softpipe/sp_state_derived.c index 8654069bde..3ed1de7e17 100644 --- a/src/gallium/drivers/softpipe/sp_state_derived.c +++ b/src/gallium/drivers/softpipe/sp_state_derived.c @@ -208,6 +208,7 @@ update_tgsi_samplers( struct softpipe_context *softpipe ) for (i = 0; i < PIPE_MAX_SAMPLERS; i++) { softpipe->tgsi.frag_samplers[i].sampler = softpipe->sampler[i]; softpipe->tgsi.frag_samplers[i].texture = softpipe->texture[i]; + softpipe->tgsi.frag_samplers[i].base.get_samples = sp_get_samples_fragment; } for (i = 0; i < PIPE_MAX_SAMPLERS; i++) { |