projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f9011
)
i965: Fix the SNB SF input size.
author
Eric Anholt
<eric@anholt.net>
Fri, 5 Mar 2010 02:26:33 +0000
(18:26 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 5 Mar 2010 23:23:30 +0000
(15:23 -0800)
src/mesa/drivers/dri/i965/gen6_sf_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/gen6_sf_state.c
b/src/mesa/drivers/dri/i965/gen6_sf_state.c
index 08e6753a910badb2779969bafdd5c6ad493fea6d..18fab61556c361936020ae32981ead4c3a0e7115 100644
(file)
--- a/
src/mesa/drivers/dri/i965/gen6_sf_state.c
+++ b/
src/mesa/drivers/dri/i965/gen6_sf_state.c
@@
-48,7
+48,7
@@
upload_sf_state(struct brw_context *brw)
dw1 =
num_outputs << GEN6_SF_NUM_OUTPUTS_SHIFT |
-
num_inputs
<< GEN6_SF_URB_ENTRY_READ_LENGTH_SHIFT |
+
(num_inputs + 1) / 2
<< GEN6_SF_URB_ENTRY_READ_LENGTH_SHIFT |
3 << GEN6_SF_URB_ENTRY_READ_OFFSET_SHIFT;
dw2 = GEN6_SF_VIEWPORT_TRANSFORM_ENABLE |
GEN6_SF_STATISTICS_ENABLE;