r600: fixes for register definitions.
[mesa.git] / src / gallium / drivers / r600 / evergreend.h
index 33fb02cb6a3a8f2313bd2a6f3b0e275d27943eb0..3f60e3e9de37004e3139cd663484745871d7143e 100644 (file)
 #define   C_028B6C_BUFFER_ACCESS_MODE                                 0xFFFFFDFF
 #define     V_028B6C_PATCH_MAJOR                                    0x00
 #define     V_028B6C_TF_MAJOR                                       0x01
-#define   S_028B6C_NUM_DS_WAVES_PER_SIMD                              (((x) & 0xf) << 10)
-#define   G_028B6C_NUM_DS_WAVES_PER_SIMD                              (((x) >> 10) & 0xF)
+#define   S_028B6C_NUM_DS_WAVES_PER_SIMD(x)                           (((x) & 0xf) << 10)
+#define   G_028B6C_NUM_DS_WAVES_PER_SIMD(x)                           (((x) >> 10) & 0xF)
 #define   C_028B6C_NUM_DS_WAVES_PER_SIMD                              0xFFFFC3FF
 
 #define R_028B74_VGT_DISPATCH_INITIATOR              0x028B74
 #define   G_028B64_HS_TOTAL_OUTPUT(x)                                 (((x) >> 0) & 0x1FFF)
 #define   C_028B64_HS_TOTAL_OUTPUT                                    0xFFFFE000
 #define   S_028B64_LS_HS_TOTAL_OUTPUT(x)                              (((x) & 0x1FFF) << 13)
-#define   C_028B64_LS_HS_TOTAL_OUTPUT(x)                              (((x) >> 13) & 0x1FFF)
+#define   G_028B64_LS_HS_TOTAL_OUTPUT(x)                              (((x) >> 13) & 0x1FFF)
 #define   C_028B64_LS_HS_TOTAL_OUTPUT                                 0xFC001FFF
 #define R_028B68_VGT_HS_PATCH_CONST                  0x00028B68
 #define   S_028B68_SIZE(x)                                            (((x) & 0x1FFF) << 0)