projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa2d20
)
softpipe: add missing calls to set draw vertex samplers/views
author
Brian Paul
<brianp@vmware.com>
Tue, 21 Sep 2010 21:29:26 +0000
(15:29 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 21 Sep 2010 21:31:33 +0000
(15:31 -0600)
Part of the fix for running softpipe w/ LLVM-enabled draw module.
src/gallium/drivers/softpipe/sp_state_sampler.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_state_sampler.c
b/src/gallium/drivers/softpipe/sp_state_sampler.c
index 79d9516ad9cf949fd0841cb6b71e5f7d40b5e762..1be5136f0ea3bc3556adb53be71d318f7bcc7372 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_state_sampler.c
+++ b/
src/gallium/drivers/softpipe/sp_state_sampler.c
@@
-118,6
+118,10
@@
softpipe_bind_vertex_sampler_states(struct pipe_context *pipe,
softpipe->num_vertex_samplers = num_samplers;
+ draw_set_samplers(softpipe->draw,
+ softpipe->vertex_samplers,
+ softpipe->num_vertex_samplers);
+
softpipe->dirty |= SP_NEW_SAMPLER;
}
@@
-234,6
+238,10
@@
softpipe_set_vertex_sampler_views(struct pipe_context *pipe,
softpipe->num_vertex_sampler_views = num;
+ draw_set_sampler_views(softpipe->draw,
+ softpipe->vertex_sampler_views,
+ softpipe->num_vertex_sampler_views);
+
softpipe->dirty |= SP_NEW_TEXTURE;
}