diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-04 18:26:33 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-05 15:23:30 -0800 |
commit | 3b9612645e537c3d293b09f27ef199a3eb52d840 (patch) | |
tree | e50a6bd08a0b1b15f18f600d66acb8c87b51e72c /src/mesa/drivers | |
parent | 24f90112761d108a4a131fad11bd7b426d8edfa0 (diff) |
i965: Fix the SNB SF input size.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sf_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index 08e6753a91..18fab61556 100644 --- 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; |