projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6488cf4
)
i965: Set up the constant buffer on gen6 when it's needed.
author
Eric Anholt
<eric@anholt.net>
Tue, 26 Oct 2010 20:15:01 +0000
(13:15 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 26 Oct 2010 20:15:01 +0000
(13:15 -0700)
This was slightly confused because gen6_wm_constants does the push
constant buffer, while brw_wm_constants does pull constants.
src/mesa/drivers/dri/i965/brw_state_upload.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_state_upload.c
b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 73940a515693fc2dae7b9a01089ee87d1be61a08..f3b6a90f61a766917c624718c4628b69157802f4 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/
src/mesa/drivers/dri/i965/brw_state_upload.c
@@
-128,6
+128,7
@@
const struct brw_tracked_state *gen6_atoms[] =
&gen6_cc_state_pointers,
&brw_vs_constants, /* Before vs_surfaces and constant_buffer */
+ &brw_wm_constants, /* Before wm_surfaces and constant_buffer */
&gen6_wm_constants, /* Before wm_surfaces and constant_buffer */
&brw_vs_surfaces, /* must do before unit */