i965: Correct copy and wasted field shifts for SNB GS URB.
authorEric Anholt <eric@anholt.net>
Sat, 20 Mar 2010 00:08:42 +0000 (17:08 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 22 Mar 2010 22:04:46 +0000 (15:04 -0700)
src/mesa/drivers/dri/i965/brw_defines.h

index 984e56d00c8c0c6eaecb034438fb903e12a408f5..6fe574b22e2a7c7bd6202d7f1c69d3142de233e2 100644 (file)
 #define CMD_URB                                        0x7805 /* GEN6+ */
 # define GEN6_URB_VS_SIZE_SHIFT                                16
 # define GEN6_URB_VS_ENTRIES_SHIFT                     0
-# define GEN6_URB_GS_SIZE_SHIFT                                8
-# define GEN6_URB_GS_ENTRIES_SHIFT                     0
+# define GEN6_URB_GS_ENTRIES_SHIFT                     8
+# define GEN6_URB_GS_SIZE_SHIFT                                0
 
 #define CMD_VIEWPORT_STATE_POINTERS                    0x780d /* GEN6+ */
 # define GEN6_CC_VIEWPORT_MODIFY                       (1 << 12)