summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-12-17 15:52:17 -0800
committerEric Anholt <eric@anholt.net>2010-02-25 10:53:08 -0800
commitda577ee8800b940fcf416716c13133cd43c3d035 (patch)
tree429c7d3f7e7e9f1169eac6353895ff195e75fde2 /src/mesa
parenta935cb2acafab199ac5ed4f2484af77be2af6363 (diff)
downloadexternal_mesa3d-da577ee8800b940fcf416716c13133cd43c3d035.zip
external_mesa3d-da577ee8800b940fcf416716c13133cd43c3d035.tar.gz
external_mesa3d-da577ee8800b940fcf416716c13133cd43c3d035.tar.bz2
i965: Fix up Sandybridge GS reg definitions
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index fcf02e9..ae16fab 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -853,9 +853,9 @@
# define GEN6_GS_SAMPLER_COUNT_SHIFT 27
# define GEN6_GS_BINDING_TABLE_ENTRY_COUNT_SHIFT 18
/* DW4 */
-# define GEN6_GS_DISPATCH_START_GRF_SHIFT 20
# define GEN6_GS_URB_READ_LENGTH_SHIFT 11
# define GEN6_GS_URB_ENTRY_READ_OFFSET_SHIFT 4
+# define GEN6_GS_DISPATCH_START_GRF_SHIFT 0
/* DW5 */
# define GEN6_GS_MAX_THREADS_SHIFT 25
# define GEN6_GS_STATISTICS_ENABLE (1 << 10)