From: Eric Anholt Date: Fri, 4 Dec 2009 02:31:32 +0000 (-0800) Subject: i965: Fix some defines of gen6 regs from docs comparison. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d512aa3d6d9948f5c294110fdae7a24aaf37051f;p=mesa.git i965: Fix some defines of gen6 regs from docs comparison. --- diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index e280c2ee4eb..f727bf53f77 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -829,10 +829,11 @@ # define GEN6_VS_VECTOR_MASK_ENABLE (1 << 30) # define GEN6_VS_SAMPLER_COUNT_SHIFT 27 # define GEN6_VS_BINDING_TABLE_ENTRY_COUNT_SHIFT 18 -# define GEN6_VS_DISPATCH_START_GRF_SHIFT 20 /* DW4 */ +# define GEN6_VS_DISPATCH_START_GRF_SHIFT 20 # define GEN6_VS_URB_READ_LENGTH_SHIFT 11 -# define GEN6_VS_URB_ENTRY_READ_OFFSET_SHIFT 0 +# define GEN6_VS_URB_ENTRY_READ_OFFSET_SHIFT 4 +/* DW6 */ # define GEN6_VS_MAX_THREADS_SHIFT 25 # define GEN6_VS_STATISTICS_ENABLE (1 << 10) # define GEN6_VS_CACHE_DISABLE (1 << 1) @@ -844,10 +845,10 @@ # define GEN6_GS_VECTOR_MASK_ENABLE (1 << 30) # define GEN6_GS_SAMPLER_COUNT_SHIFT 27 # define GEN6_GS_BINDING_TABLE_ENTRY_COUNT_SHIFT 18 -# define GEN6_GS_DISPATCH_START_GRF_SHIFT 20 /* DW4 */ # define GEN6_GS_URB_READ_LENGTH_SHIFT 11 -# define GEN6_GS_URB_ENTRY_READ_OFFSET_SHIFT 0 +# 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)