Lines Matching refs:x1
52 #define PREDICATION_OP_ZPASS 0x1
110 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1)
115 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((x) & 0x1) << 0)
117 #define S_0085F0_DEST_BASE_0_ENA(x) (((x) & 0x1) << 0)
118 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1)
120 #define S_0085F0_DEST_BASE_1_ENA(x) (((x) & 0x1) << 1)
121 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1)
124 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6)
125 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1)
127 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((x) & 0x1) << 7)
128 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1)
130 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((x) & 0x1) << 8)
131 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1)
133 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((x) & 0x1) << 9)
134 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1)
136 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((x) & 0x1) << 10)
137 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1)
139 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((x) & 0x1) << 11)
140 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1)
142 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((x) & 0x1) << 12)
143 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1)
145 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((x) & 0x1) << 13)
146 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1)
148 #define S_0085F0_DB_DEST_BASE_ENA(x) (((x) & 0x1) << 14)
149 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1)
151 #define S_0085F0_DEST_BASE_2_ENA(x) (((x) & 0x1) << 19)
152 #define G_0085F0_DEST_BASE_2_ENA(x) (((x) >> 19) & 0x1)
154 #define S_0085F0_DEST_BASE_3_ENA(x) (((x) & 0x1) << 21)
155 #define G_0085F0_DEST_BASE_3_ENA(x) (((x) >> 21) & 0x1)
157 #define S_0085F0_TCL1_ACTION_ENA(x) (((x) & 0x1) << 22)
158 #define G_0085F0_TCL1_ACTION_ENA(x) (((x) >> 22) & 0x1)
160 #define S_0085F0_TC_ACTION_ENA(x) (((x) & 0x1) << 23)
161 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1)
163 #define S_0085F0_CB_ACTION_ENA(x) (((x) & 0x1) << 25)
164 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1)
166 #define S_0085F0_DB_ACTION_ENA(x) (((x) & 0x1) << 26)
167 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1)
169 #define S_0085F0_SH_KCACHE_ACTION_ENA(x) (((x) & 0x1) << 27)
170 #define G_0085F0_SH_KCACHE_ACTION_ENA(x) (((x) >> 27) & 0x1)
172 #define S_0085F0_SH_ICACHE_ACTION_ENA(x) (((x) & 0x1) << 29)
173 #define G_0085F0_SH_ICACHE_ACTION_ENA(x) (((x) >> 29) & 0x1)
182 #define S_0088C4_VS_NO_EXTRA_BUFFER(x) (((x) & 0x1) << 5)
183 #define G_0088C4_VS_NO_EXTRA_BUFFER(x) (((x) >> 5) & 0x1)
185 #define S_0088C4_STREAMOUT_FULL_FLUSH(x) (((x) & 0x1) << 13)
186 #define G_0088C4_STREAMOUT_FULL_FLUSH(x) (((x) >> 13) & 0x1)
252 #define S_008A14_CLIP_VTX_REORDER_ENA(x) (((x) & 0x1) << 0)
253 #define G_008A14_CLIP_VTX_REORDER_ENA(x) (((x) >> 0) & 0x1)
258 #define S_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((x) & 0x1) << 3)
259 #define G_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((x) >> 3) & 0x1)
261 #define S_008A14_VE_NAN_PROC_DISABLE(x) (((x) & 0x1) << 4)
262 #define G_008A14_VE_NAN_PROC_DISABLE(x) (((x) >> 4) & 0x1)
276 #define S_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((x) & 0x1) << 0)
277 #define G_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((x) >> 0) & 0x1)
279 #define S_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((x) & 0x1) << 1)
280 #define G_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((x) >> 1) & 0x1)
282 #define S_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((x) & 0x1) << 2)
283 #define G_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((x) >> 2) & 0x1)
285 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((x) & 0x1) << 3)
286 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((x) >> 3) & 0x1)
288 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((x) & 0x1) << 4)
289 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((x) >> 4) & 0x1)
291 #define S_008BF0_DISABLE_SCISSOR_FIX(x) (((x) & 0x1) << 5)
292 #define G_008BF0_DISABLE_SCISSOR_FIX(x) (((x) >> 5) & 0x1)
297 #define S_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((x) & 0x1) << 8)
298 #define G_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((x) >> 8) & 0x1)
300 #define S_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((x) & 0x1) << 9)
301 #define G_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((x) >> 9) & 0x1)
304 #define S_008C08_INST_INVALIDATE(x) (((x) & 0x1) << 0)
305 #define G_008C08_INST_INVALIDATE(x) (((x) >> 0) & 0x1)
307 #define S_008C08_DATA_INVALIDATE(x) (((x) & 0x1) << 1)
308 #define G_008C08_DATA_INVALIDATE(x) (((x) >> 1) & 0x1)
908 #define S_008DFC_SLC(x) (((x) & 0x1) << 22)
909 #define G_008DFC_SLC(x) (((x) >> 22) & 0x1)
911 #define S_008DFC_TFE(x) (((x) & 0x1) << 23)
912 #define G_008DFC_TFE(x) (((x) >> 23) & 0x1)
1039 #define S_008DFC_GDS(x) (((x) & 0x1) << 17)
1040 #define G_008DFC_GDS(x) (((x) >> 17) & 0x1)
1454 #define S_008DFC_COMPR(x) (((x) & 0x1) << 10)
1455 #define G_008DFC_COMPR(x) (((x) >> 10) & 0x1)
1457 #define S_008DFC_DONE(x) (((x) & 0x1) << 11)
1458 #define G_008DFC_DONE(x) (((x) >> 11) & 0x1)
1460 #define S_008DFC_VM(x) (((x) & 0x1) << 12)
1461 #define G_008DFC_VM(x) (((x) >> 12) & 0x1)
1472 #define S_008DFC_UNORM(x) (((x) & 0x1) << 12)
1473 #define G_008DFC_UNORM(x) (((x) >> 12) & 0x1)
1475 #define S_008DFC_GLC(x) (((x) & 0x1) << 13)
1476 #define G_008DFC_GLC(x) (((x) >> 13) & 0x1)
1478 #define S_008DFC_DA(x) (((x) & 0x1) << 14)
1479 #define G_008DFC_DA(x) (((x) >> 14) & 0x1)
1481 #define S_008DFC_R128(x) (((x) & 0x1) << 15)
1482 #define G_008DFC_R128(x) (((x) >> 15) & 0x1)
1484 #define S_008DFC_TFE(x) (((x) & 0x1) << 16)
1485 #define G_008DFC_TFE(x) (((x) >> 16) & 0x1)
1487 #define S_008DFC_LWE(x) (((x) & 0x1) << 17)
1488 #define G_008DFC_LWE(x) (((x) >> 17) & 0x1)
1588 #define S_008DFC_SLC(x) (((x) & 0x1) << 25)
1589 #define G_008DFC_SLC(x) (((x) >> 25) & 0x1)
1661 #define S_008DFC_OFFEN(x) (((x) & 0x1) << 12)
1662 #define G_008DFC_OFFEN(x) (((x) >> 12) & 0x1)
1664 #define S_008DFC_IDXEN(x) (((x) & 0x1) << 13)
1665 #define G_008DFC_IDXEN(x) (((x) >> 13) & 0x1)
1667 #define S_008DFC_GLC(x) (((x) & 0x1) << 14)
1668 #define G_008DFC_GLC(x) (((x) >> 14) & 0x1)
1670 #define S_008DFC_ADDR64(x) (((x) & 0x1) << 15)
1671 #define G_008DFC_ADDR64(x) (((x) >> 15) & 0x1)
1717 #define S_008DFC_IMM(x) (((x) & 0x1) << 8)
1718 #define G_008DFC_IMM(x) (((x) >> 8) & 0x1)
2341 #define S_008DFC_SLC(x) (((x) & 0x1) << 22)
2342 #define G_008DFC_SLC(x) (((x) >> 22) & 0x1)
2344 #define S_008DFC_TFE(x) (((x) & 0x1) << 23)
2345 #define G_008DFC_TFE(x) (((x) >> 23) & 0x1)
2842 #define S_008DFC_CLAMP(x) (((x) & 0x1) << 11)
2843 #define G_008DFC_CLAMP(x) (((x) >> 11) & 0x1)
3089 #define S_008DFC_ENCODING(x) (((x) & 0x1) << 31)
3090 x1)
3186 #define S_008DFC_OFFEN(x) (((x) & 0x1) << 12)
3187 #define G_008DFC_OFFEN(x) (((x) >> 12) & 0x1)
3189 #define S_008DFC_IDXEN(x) (((x) & 0x1) << 13)
3190 #define G_008DFC_IDXEN(x) (((x) >> 13) & 0x1)
3192 #define S_008DFC_GLC(x) (((x) & 0x1) << 14)
3193 #define G_008DFC_GLC(x) (((x) >> 14) & 0x1)
3195 #define S_008DFC_ADDR64(x) (((x) & 0x1) << 15)
3196 #define G_008DFC_ADDR64(x) (((x) >> 15) & 0x1)
3198 #define S_008DFC_LDS(x) (((x) & 0x1) << 16)
3199 #define G_008DFC_LDS(x) (((x) >> 16) & 0x1)
3273 #define S_008F04_CACHE_SWIZZLE(x) (((x) & 0x1) << 30)
3274 #define G_008F04_CACHE_SWIZZLE(x) (((x) >> 30) & 0x1)
3276 #define S_008F04_SWIZZLE_ENABLE(x) (((x) & 0x1) << 31)
3277 #define G_008F04_SWIZZLE_ENABLE(x) (((x) >> 31) & 0x1)
3361 #define S_008F0C_ADD_TID_ENABLE(x) (((x) & 0x1) << 23)
3362 #define G_008F0C_ADD_TID_ENABLE(x) (((x) >> 23) & 0x1)
3364 #define S_008F0C_HASH_ENABLE(x) (((x) & 0x1) << 25)
3365 #define G_008F0C_HASH_ENABLE(x) (((x) >> 25) & 0x1)
3367 #define S_008F0C_HEAP(x) (((x) & 0x1) << 26)
3368 #define G_008F0C_HEAP(x) (((x) >> 26) & 0x1)
3474 #define S_008F18_INTERLACED(x) (((x) & 0x1) << 31)
3475 #define G_008F18_INTERLACED(x) (((x) >> 31) & 0x1)
3531 #define S_008F1C_POW2_PAD(x) (((x) & 0x1) << 25)
3532 #define G_008F1C_POW2_PAD(x) (((x) >> 25) & 0x1)
3617 #define S_008F30_FORCE_UNNORMALIZED(x) (((x) & 0x1) << 15)
3618 #define G_008F30_FORCE_UNNORMALIZED(x) (((x) >> 15) & 0x1)
3620 #define S_008F30_MC_COORD_TRUNC(x) (((x) & 0x1) << 19)
3621 #define G_008F30_MC_COORD_TRUNC(x) (((x) >> 19) & 0x1)
3623 #define S_008F30_FORCE_DEGAMMA(x) (((x) & 0x1) << 20)
3624 #define G_008F30_FORCE_DEGAMMA(x) (((x) >> 20) & 0x1)
3626 #define S_008F30_TRUNC_COORD(x) (((x) & 0x1) << 27)
3627 #define G_008F30_TRUNC_COORD(x) (((x) >> 27) & 0x1)
3629 #define S_008F30_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 28)
3630 #define G_008F30_DISABLE_CUBE_WRAP(x) (((x) >> 28) & 0x1)
3677 #define S_008F38_MIP_POINT_PRECLAMP(x) (((x) & 0x1) << 28)
3678 #define G_008F38_MIP_POINT_PRECLAMP(x) (((x) >> 28) & 0x1)
3680 #define S_008F38_DISABLE_LSB_CEIL(x) (((x) & 0x1) << 29)
3681 #define G_008F38_DISABLE_LSB_CEIL(x) (((x) >> 29) & 0x1)
3683 #define S_008F38_FILTER_PREC_FIX(x) (((x) & 0x1) << 30)
3684 #define G_008F38_FILTER_PREC_FIX(x) (((x) >> 30) & 0x1)
3764 #define S_009100_ENABLE_SQG_TOP_EVENTS(x) (((x) & 0x1) << 24)
3765 #define G_009100_ENABLE_SQG_TOP_EVENTS(x) (((x) >> 24) & 0x1)
3767 #define S_009100_ENABLE_SQG_BOP_EVENTS(x) (((x) & 0x1) << 25)
3768 #define G_009100_ENABLE_SQG_BOP_EVENTS(x) (((x) >> 25) & 0x1)
3770 #define S_009100_RSRC_MGMT_RESET(x) (((x) & 0x1) << 26)
3771 #define G_009100_RSRC_MGMT_RESET(x) (((x) >> 26) & 0x1)
3793 #define S_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((x) & 0x1) << 4)
3794 #define G_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((x) >> 4) & 0x1)
3796 #define S_00913C_PC_LIMIT_ENABLE(x) (((x) & 0x1) << 6)
3797 #define G_00913C_PC_LIMIT_ENABLE(x) (((x) >> 6) & 0x1)
3799 #define S_00913C_PC_LIMIT_STRICT(x) (((x) & 0x1) << 7)
3800 #define G_00913C_PC_LIMIT_STRICT(x) (((x) >> 7) & 0x1)
3821 #define S_00936C_EN_A(x) (((x) & 0x1) << 15)
3822 #define G_00936C_EN_A(x) (((x) >> 15) & 0x1)
3839 #define S_00936C_EN_B(x) (((x) & 0x1) << 31)
3840 #define G_00936C_EN_B(x) (((x) >> 31) & 0x1)
3970 #define S_00B028_PRIV(x) (((x) & 0x1) << 20)
3971 #define G_00B028_PRIV(x) (((x) >> 20) & 0x1)
3973 #define S_00B028_DX10_CLAMP(x) (((x) & 0x1) << 21)
3974 #define G_00B028_DX10_CLAMP(x) (((x) >> 21) & 0x1)
3976 #define S_00B028_DEBUG_MODE(x) (((x) & 0x1) << 22)
3977 #define G_00B028_DEBUG_MODE(x) (((x) >> 22) & 0x1)
3979 #define S_00B028_IEEE_MODE(x) (((x) & 0x1) << 23)
3980 #define G_00B028_IEEE_MODE(x) (((x) >> 23) & 0x1)
3982 #define S_00B028_CU_GROUP_DISABLE(x) (((x) & 0x1) << 24)
3983 #define G_00B028_CU_GROUP_DISABLE(x) (((x) >> 24) & 0x1)
3986 #define S_00B02C_SCRATCH_EN(x) (((x) & 0x1) << 0)
3987 #define G_00B02C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
3992 #define S_00B02C_WAVE_CNT_EN(x) (((x) & 0x1) << 7)
3993 #define G_00B02C_WAVE_CNT_EN(x) (((x) >> 7) & 0x1)
4035 #define S_00B128_PRIV(x) (((x) & 0x1) << 20)
4036 #define G_00B128_PRIV(x) (((x) >> 20) & 0x1)
4038 #define S_00B128_DX10_CLAMP(x) (((x) & 0x1) << 21)
4039 #define G_00B128_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4041 #define S_00B128_DEBUG_MODE(x) (((x) & 0x1) << 22)
4042 #define G_00B128_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4044 #define S_00B128_IEEE_MODE(x) (((x) & 0x1) << 23)
4045 #define G_00B128_IEEE_MODE(x) (((x) >> 23) & 0x1)
4050 #define S_00B128_CU_GROUP_ENABLE(x) (((x) & 0x1) << 26)
4051 #define G_00B128_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1)
4054 #define S_00B12C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4055 #define G_00B12C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4060 #define S_00B12C_OC_LDS_EN(x) (((x) & 0x1) << 7)
4061 #define G_00B12C_OC_LDS_EN(x) (((x) >> 7) & 0x1)
4063 #define S_00B12C_SO_BASE0_EN(x) (((x) & 0x1) << 8)
4064 #define G_00B12C_SO_BASE0_EN(x) (((x) >> 8) & 0x1)
4066 #define S_00B12C_SO_BASE1_EN(x) (((x) & 0x1) << 9)
4067 #define G_00B12C_SO_BASE1_EN(x) (((x) >> 9) & 0x1)
4069 #define S_00B12C_SO_BASE2_EN(x) (((x) & 0x1) << 10)
4070 #define G_00B12C_SO_BASE2_EN(x) (((x) >> 10) & 0x1)
4072 #define S_00B12C_SO_BASE3_EN(x) (((x) & 0x1) << 11)
4073 #define G_00B12C_SO_BASE3_EN(x) (((x) >> 11) & 0x1)
4075 #define S_00B12C_SO_EN(x) (((x) & 0x1) << 12)
4076 #define G_00B12C_SO_EN(x) (((x) >> 12) & 0x1)
4115 #define S_00B228_PRIV(x) (((x) & 0x1) << 20)
4116 #define G_00B228_PRIV(x) (((x) >> 20) & 0x1)
4118 #define S_00B228_DX10_CLAMP(x) (((x) & 0x1) << 21)
4119 #define G_00B228_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4121 #define S_00B228_DEBUG_MODE(x) (((x) & 0x1) << 22)
4122 #define G_00B228_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4124 #define S_00B228_IEEE_MODE(x) (((x) & 0x1) << 23)
4125 #define G_00B228_IEEE_MODE(x) (((x) >> 23) & 0x1)
4127 #define S_00B228_CU_GROUP_ENABLE(x) (((x) & 0x1) << 24)
4128 #define G_00B228_CU_GROUP_ENABLE(x) (((x) >> 24) & 0x1)
4131 #define S_00B22C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4132 #define G_00B22C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4159 #define S_00B328_PRIV(x) (((x) & 0x1) << 20)
4160 #define G_00B328_PRIV(x) (((x) >> 20) & 0x1)
4162 #define S_00B328_DX10_CLAMP(x) (((x) & 0x1) << 21)
4163 #define G_00B328_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4165 #define S_00B328_DEBUG_MODE(x) (((x) & 0x1) << 22)
4166 #define G_00B328_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4168 #define S_00B328_IEEE_MODE(x) (((x) & 0x1) << 23)
4169 #define G_00B328_IEEE_MODE(x) (((x) >> 23) & 0x1)
4174 #define S_00B328_CU_GROUP_ENABLE(x) (((x) & 0x1) << 26)
4175 #define G_00B328_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1)
4178 #define S_00B32C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4179 #define G_00B32C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4184 #define S_00B32C_OC_LDS_EN(x) (((x) & 0x1) << 7)
4185 #define G_00B32C_OC_LDS_EN(x) (((x) >> 7) & 0x1)
4209 #define S_00B428_PRIV(x) (((x) & 0x1) << 20)
4210 #define G_00B428_PRIV(x) (((x) >> 20) & 0x1)
4212 #define S_00B428_DX10_CLAMP(x) (((x) & 0x1) << 21)
4213 #define G_00B428_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4215 #define S_00B428_DEBUG_MODE(x) (((x) & 0x1) << 22)
4216 #define G_00B428_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4218 #define S_00B428_IEEE_MODE(x) (((x) & 0x1) << 23)
4219 #define G_00B428_IEEE_MODE(x) (((x) >> 23) & 0x1)
4222 #define S_00B42C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4223 #define G_00B42C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4228 #define S_00B42C_OC_LDS_EN(x) (((x) & 0x1) << 7)
4229 #define G_00B42C_OC_LDS_EN(x) (((x) >> 7) & 0x1)
4231 #define S_00B42C_TG_SIZE_EN(x) (((x) & 0x1) << 8)
4232 #define G_00B42C_TG_SIZE_EN(x) (((x) >> 8) & 0x1)
4256 #define S_00B528_PRIV(x) (((x) & 0x1) << 20)
4257 #define G_00B528_PRIV(x) (((x) >> 20) & 0x1)
4259 #define S_00B528_DX10_CLAMP(x) (((x) & 0x1) << 21)
4260 #define G_00B528_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4262 #define S_00B528_DEBUG_MODE(x) (((x) & 0x1) << 22)
4263 #define G_00B528_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4265 #define S_00B528_IEEE_MODE(x) (((x) & 0x1) << 23)
4266 #define G_00B528_IEEE_MODE(x) (((x) >> 23) & 0x1)
4272 #define S_00B52C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4273 #define G_00B52C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4286 #define S_00B800_COMPUTE_SHADER_EN(x) (((x) & 0x1) << 0)
4287 #define G_00B800_COMPUTE_SHADER_EN(x) (((x) >> 0) & 0x1)
4289 #define S_00B800_PARTIAL_TG_EN(x) (((x) & 0x1) << 1)
4290 #define G_00B800_PARTIAL_TG_EN(x) (((x) >> 1) & 0x1)
4292 #define S_00B800_FORCE_START_AT_000(x) (((x) & 0x1) << 2)
4293 #define G_00B800_FORCE_START_AT_000(x) (((x) >> 2) & 0x1)
4295 #define S_00B800_ORDERED_APPEND_ENBL(x) (((x) & 0x1) << 3)
4296 #define G_00B800_ORDERED_APPEND_ENBL(x) (((x) >> 3) & 0x1)
4347 #define S_00B848_PRIV(x) (((x) & 0x1) << 20)
4348 #define G_00B848_PRIV(x) (((x) >> 20) & 0x1)
4350 #define S_00B848_DX10_CLAMP(x) (((x) & 0x1) << 21)
4351 #define G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1)
4353 #define S_00B848_DEBUG_MODE(x) (((x) & 0x1) << 22)
4354 #define G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1)
4356 #define S_00B848_IEEE_MODE(x) (((x) & 0x1) << 23)
4357 #define G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1)
4360 #define S_00B84C_SCRATCH_EN(x) (((x) & 0x1) << 0)
4361 #define G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
4366 #define S_00B84C_TGID_X_EN(x) (((x) & 0x1) << 7)
4367 #define G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1)
4369 #define S_00B84C_TGID_Y_EN(x) (((x) & 0x1) << 8)
4370 #define G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1)
4372 #define S_00B84C_TGID_Z_EN(x) (((x) & 0x1) << 9)
4373 #define G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1)
4375 #define S_00B84C_TG_SIZE_EN(x) (((x) & 0x1) << 10)
4376 #define G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1)
4397 #define S_00B854_SIMD_DEST_CNTL(x) (((x) & 0x1) << 22)
4398 #define G_00B854_SIMD_DEST_CNTL(x) (((x) >> 22) & 0x1)
4423 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((x) & 0x1) << 0)
4424 #define G_028000_DEPTH_CLEAR_ENABLE(x) (((x) >> 0) & 0x1)
4426 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((x) & 0x1) << 1)
4427 #define G_028000_STENCIL_CLEAR_ENABLE(x) (((x) >> 1) & 0x1)
4429 #define S_028000_DEPTH_COPY(x) (((x) & 0x1) << 2)
4430 #define G_028000_DEPTH_COPY(x) (((x) >> 2) & 0x1)
4432 #define S_028000_STENCIL_COPY(x) (((x) & 0x1) << 3)
4433 #define G_028000_STENCIL_COPY(x) (((x) >> 3) & 0x1)
4435 #define S_028000_RESUMMARIZE_ENABLE(x) (((x) & 0x1) << 4)
4436 #define G_028000_RESUMMARIZE_ENABLE(x) (((x) >> 4) & 0x1)
4438 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5)
4439 #define G_028000_STENCIL_COMPRESS_DISABLE(x) (((x) >> 5) & 0x1)
4441 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6)
4442 #define G_028000_DEPTH_COMPRESS_DISABLE(x) (((x) >> 6) & 0x1)
4444 #define S_028000_COPY_CENTROID(x) (((x) & 0x1) << 7)
4445 #define G_028000_COPY_CENTROID(x) (((x) >> 7) & 0x1)
4451 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((x) & 0x1) << 0)
4452 #define G_028004_ZPASS_INCREMENT_DISABLE(x) (((x) >> 0) & 0x1)
4454 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 1)
4455 #define G_028004_PERFECT_ZPASS_COUNTS(x) (((x) >> 1) & 0x1)
4467 #define S_028008_Z_READ_ONLY(x) (((x) & 0x1) << 24)
4468 #define G_028008_Z_READ_ONLY(x) (((x) >> 24) & 0x1)
4470 #define S_028008_STENCIL_READ_ONLY(x) (((x) & 0x1) << 25)
4471 #define G_028008_STENCIL_READ_ONLY(x) (((x) >> 25) & 0x1)
4495 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6)
4496 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1)
4498 #define S_02800C_FAST_Z_DISABLE(x) (((x) & 0x1) << 7)
4499 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1)
4501 #define S_02800C_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8)
4502 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1)
4504 #define S_02800C_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9)
4505 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1)
4507 #define S_02800C_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10)
4508 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1)
4510 #define S_02800C_FORCE_Z_READ(x) (((x) & 0x1) << 11)
4511 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1)
4513 #define S_02800C_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12)
4514 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1)
4523 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15)
4524 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1)
4526 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16)
4527 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1)
4529 #define S_02800C_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17)
4530 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1)
4532 #define S_02800C_DISABLE_FULLY_COVERED(x) (((x) & 0x1) << 18)
4533 #define G_02800C_DISABLE_FULLY_COVERED(x) (((x) >> 18) & 0x1)
4545 #define S_02800C_DISABLE_TILE_RATE_TILES(x) (((x) & 0x1) << 26)
4546 #define G_02800C_DISABLE_TILE_RATE_TILES(x) (((x) >> 26) & 0x1)
4548 #define S_02800C_FORCE_Z_DIRTY(x) (((x) & 0x1) << 27)
4549 #define G_02800C_FORCE_Z_DIRTY(x) (((x) >> 27) & 0x1)
4551 #define S_02800C_FORCE_STENCIL_DIRTY(x) (((x) & 0x1) << 28)
4552 #define G_02800C_FORCE_STENCIL_DIRTY(x) (((x) >> 28) & 0x1)
4554 #define S_02800C_FORCE_Z_VALID(x) (((x) & 0x1) << 29)
4555 #define G_02800C_FORCE_Z_VALID(x) (((x) >> 29) & 0x1)
4557 #define S_02800C_FORCE_STENCIL_VALID(x) (((x) & 0x1) << 30)
4558 #define G_02800C_FORCE_STENCIL_VALID(x) (((x) >> 30) & 0x1)
4560 #define S_02800C_PRESERVE_COMPRESSION(x) (((x) & 0x1) << 31)
4561 #define G_02800C_PRESERVE_COMPRESSION(x) (((x) >> 31) & 0x1)
4574 #define S_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATIO(x) (((x) & 0x1) << 5)
4575 #define G_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATIO(x) (((x) >> 5) & 0x1)
4577 #define S_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) & 0x1) << 6)
4578 #define G_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) >> 6) & 0x1)
4580 #define S_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) & 0x1) << 7)
4581 #define G_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) >> 7) & 0x1)
4583 #define S_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) & 0x1) << 8)
4584 #define G_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) >> 8) & 0x1)
4586 #define S_028010_DISABLE_REG_SNOOP(x) (((x) & 0x1) << 9)
4587 #define G_028010_DISABLE_REG_SNOOP(x) (((x) >> 9) & 0x1)
4589 #define S_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) & 0x1) << 10)
4590 #define G_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) >> 10) & 0x1)
4632 #define S_028040_ALLOW_EXPCLEAR(x) (((x) & 0x1) << 27)
4633 #define G_028040_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1)
4635 #define S_028040_READ_SIZE(x) (((x) & 0x1) << 28)
4636 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1)
4638 #define S_028040_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 29)
4639 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1)
4641 #define S_028040_ZRANGE_PRECISION(x) (((x) & 0x1) << 31)
4642 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1)
4645 #define S_028044_FORMAT(x) (((x) & 0x1) << 0)
4646 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1)
4651 #define S_028044_ALLOW_EXPCLEAR(x) (((x) & 0x1) << 27)
4652 #define G_028044_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1)
4654 #define S_028044_TILE_STENCIL_DISABLE(x) (((x) & 0x1) << 29)
4655 #define G_028044_TILE_STENCIL_DISABLE(x) (((x) >> 29) & 0x1)
4687 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
4688 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
4807 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
4808 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
4824 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
4825 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
4858 #define S_028350_RB_XSEL(x) (((x) & 0x1) << 6)
4859 #define G_028350_RB_XSEL(x) (((x) >> 6) & 0x1)
4861 #define S_028350_RB_YSEL(x) (((x) & 0x1) << 7)
4862 #define G_028350_RB_YSEL(x) (((x) >> 7) & 0x1)
5114 #define S_028644_FLAT_SHADE(x) (((x) & 0x1) << 10)
5115 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1)
5120 #define S_028644_PT_SPRITE_TEX(x) (((x) & 0x1) << 17)
5121 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1)
5158 #define S_0286C4_VS_HALF_PACK(x) (((x) & 0x1) << 6)
5159 #define G_0286C4_VS_HALF_PACK(x) (((x) >> 6) & 0x1)
5161 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 7)
5162 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 7) & 0x1)
5168 #define S_0286CC_PERSP_SAMPLE_ENA(x) (((x) & 0x1) << 0)
5169 #define G_0286CC_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1)
5171 #define S_0286CC_PERSP_CENTER_ENA(x) (((x) & 0x1) << 1)
5172 #define G_0286CC_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1)
5174 #define S_0286CC_PERSP_CENTROID_ENA(x) (((x) & 0x1) << 2)
5175 #define G_0286CC_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1)
5177 #define S_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) & 0x1) << 3)
5178 #define G_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1)
5180 #define S_0286CC_LINEAR_SAMPLE_ENA(x) (((x) & 0x1) << 4)
5181 #define G_0286CC_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1)
5183 #define S_0286CC_LINEAR_CENTER_ENA(x) (((x) & 0x1) << 5)
5184 #define G_0286CC_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1)
5186 #define S_0286CC_LINEAR_CENTROID_ENA(x) (((x) & 0x1) << 6)
5187 #define G_0286CC_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1)
5189 #define S_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) & 0x1) << 7)
5190 #define G_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1)
5192 #define S_0286CC_POS_X_FLOAT_ENA(x) (((x) & 0x1) << 8)
5193 #define G_0286CC_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1)
5195 #define S_0286CC_POS_Y_FLOAT_ENA(x) (((x) & 0x1) << 9)
5196 #define G_0286CC_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1)
5198 #define S_0286CC_POS_Z_FLOAT_ENA(x) (((x) & 0x1) << 10)
5199 #define G_0286CC_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1)
5201 #define S_0286CC_POS_W_FLOAT_ENA(x) (((x) & 0x1) << 11)
5202 #define G_0286CC_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1)
5204 #define S_0286CC_FRONT_FACE_ENA(x) (((x) & 0x1) << 12)
5205 #define G_0286CC_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1)
5207 #define S_0286CC_ANCILLARY_ENA(x) (((x) & 0x1) << 13)
5208 #define G_0286CC_ANCILLARY_ENA(x) (((x) >> 13) & 0x1)
5210 #define S_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) & 0x1) << 14)
5211 #define G_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1)
5213 #define S_0286CC_POS_FIXED_PT_ENA(x) (((x) & 0x1) << 15)
5214 #define G_0286CC_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1)
5217 #define S_0286D0_PERSP_SAMPLE_ENA(x) (((x) & 0x1) << 0)
5218 #define G_0286D0_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1)
5220 #define S_0286D0_PERSP_CENTER_ENA(x) (((x) & 0x1) << 1)
5221 #define G_0286D0_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1)
5223 #define S_0286D0_PERSP_CENTROID_ENA(x) (((x) & 0x1) << 2)
5224 #define G_0286D0_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1)
5226 #define S_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) & 0x1) << 3)
5227 #define G_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1)
5229 #define S_0286D0_LINEAR_SAMPLE_ENA(x) (((x) & 0x1) << 4)
5230 #define G_0286D0_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1)
5232 #define S_0286D0_LINEAR_CENTER_ENA(x) (((x) & 0x1) << 5)
5233 #define G_0286D0_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1)
5235 #define S_0286D0_LINEAR_CENTROID_ENA(x) (((x) & 0x1) << 6)
5236 #define G_0286D0_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1)
5238 #define S_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) & 0x1) << 7)
5239 #define G_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1)
5241 #define S_0286D0_POS_X_FLOAT_ENA(x) (((x) & 0x1) << 8)
5242 #define G_0286D0_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1)
5244 #define S_0286D0_POS_Y_FLOAT_ENA(x) (((x) & 0x1) << 9)
5245 #define G_0286D0_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1)
5247 #define S_0286D0_POS_Z_FLOAT_ENA(x) (((x) & 0x1) << 10)
5248 #define G_0286D0_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1)
5250 #define S_0286D0_POS_W_FLOAT_ENA(x) (((x) & 0x1) << 11)
5251 #define G_0286D0_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1)
5253 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 12)
5254 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1)
5256 #define S_0286D0_ANCILLARY_ENA(x) (((x) & 0x1) << 13)
5257 #define G_0286D0_ANCILLARY_ENA(x) (((x) >> 13) & 0x1)
5259 #define S_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) & 0x1) << 14)
5260 #define G_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1)
5262 #define S_0286D0_POS_FIXED_PT_ENA(x) (((x) & 0x1) << 15)
5263 #define G_0286D0_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1)
5266 #define S_0286D4_FLAT_SHADE_ENA(x) (((x) & 0x1) << 0)
5267 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1)
5269 #define S_0286D4_PNT_SPRITE_ENA(x) (((x) & 0x1) << 1)
5270 x1)
5304 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((x) & 0x1) << 14)
5305 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1)
5311 #define S_0286D8_PARAM_GEN(x) (((x) & 0x1) << 6)
5312 #define G_0286D8_PARAM_GEN(x) (((x) >> 6) & 0x1)
5317 #define S_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) & 0x1) << 14)
5318 #define G_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) >> 14) & 0x1)
5320 #define S_0286D8_PASS_FOG_THROUGH_PS(x) (((x) & 0x1) << 15)
5321 #define G_0286D8_PASS_FOG_THROUGH_PS(x) (((x) >> 15) & 0x1)
5324 #define S_0286E0_PERSP_CENTER_CNTL(x) (((x) & 0x1) << 0)
5325 #define G_0286E0_PERSP_CENTER_CNTL(x) (((x) >> 0) & 0x1)
5327 #define S_0286E0_PERSP_CENTROID_CNTL(x) (((x) & 0x1) << 4)
5328 #define G_0286E0_PERSP_CENTROID_CNTL(x) (((x) >> 4) & 0x1)
5330 #define S_0286E0_LINEAR_CENTER_CNTL(x) (((x) & 0x1) << 8)
5331 #define G_0286E0_LINEAR_CENTER_CNTL(x) (((x) >> 8) & 0x1)
5333 #define S_0286E0_LINEAR_CENTROID_CNTL(x) (((x) & 0x1) << 12)
5334 #define G_0286E0_LINEAR_CENTROID_CNTL(x) (((x) >> 12) & 0x1)
5340 #define S_0286E0_POS_FLOAT_ULC(x) (((x) & 0x1) << 20)
5341 #define G_0286E0_POS_FLOAT_ULC(x) (((x) >> 20) & 0x1)
5343 #define S_0286E0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 24)
5344 #define G_0286E0_FRONT_FACE_ALL_BITS(x) (((x) >> 24) & 0x1)
5630 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((x) & 0x1) << 29)
5631 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1)
5633 #define S_028780_ENABLE(x) (((x) & 0x1) << 30)
5634 #define G_028780_ENABLE(x) (((x) >> 30) & 0x1)
5636 #define S_028780_DISABLE_ROP3(x) (((x) & 0x1) << 31)
5637 #define G_028780_DISABLE_ROP3(x) (((x) >> 31) & 0x1)
5668 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5)
5669 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1)
5671 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6)
5672 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1)
5676 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0)
5677 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1)
5679 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1)
5680 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1)
5682 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2)
5683 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1)
5685 #define S_028800_DEPTH_BOUNDS_ENABLE(x) (((x) & 0x1) << 3)
5686 #define G_028800_DEPTH_BOUNDS_ENABLE(x) (((x) >> 3) & 0x1)
5699 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7)
5700 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1)
5724 #define S_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) & 0x1) << 30)
5725 #define G_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) >> 30) & 0x1)
5727 #define S_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) & 0x1) << 31)
5728 #define G_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) >> 31) & 0x1)
5732 #define S_028808_DEGAMMA_ENABLE(x) (((x) & 0x1) << 3)
5733 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1)
5775 #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0)
5776 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1)
5778 #define S_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x) (((x) & 0x1) << 1)
5779 #define G_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x) (((x) >> 1) & 0x1)
5781 #define S_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) & 0x1) << 2)
5782 #define G_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) >> 2) & 0x1)
5791 #define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6)
5792 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1)
5794 #define S_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) & 0x1) << 7)
5795 #define G_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) >> 7) & 0x1)
5797 #define S_02880C_MASK_EXPORT_ENABLE(x) (((x) & 0x1) << 8)
5798 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1)
5800 #define S_02880C_EXEC_ON_HIER_FAIL(x) (((x) & 0x1) << 9)
5801 #define G_02880C_EXEC_ON_HIER_FAIL(x) (((x) >> 9) & 0x1)
5803 #define S_02880C_EXEC_ON_NOOP(x) (((x) & 0x1) << 10)
5804 #define G_02880C_EXEC_ON_NOOP(x) (((x) >> 10) & 0x1)
5806 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) & 0x1) << 11)
5807 #define G_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) >> 11) & 0x1)
5809 #define S_02880C_DEPTH_BEFORE_SHADER(x) (((x) & 0x1) << 12)
5810 #define G_02880C_DEPTH_BEFORE_SHADER(x) (((x) >> 12) & 0x1)
5813 #define S_028810_UCP_ENA_0(x) (((x) & 0x1) << 0)
5814 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1)
5816 #define S_028810_UCP_ENA_1(x) (((x) & 0x1) << 1)
5817 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1)
5819 #define S_028810_UCP_ENA_2(x) (((x) & 0x1) << 2)
5820 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1)
5822 #define S_028810_UCP_ENA_3(x) (((x) & 0x1) << 3)
5823 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1)
5825 #define S_028810_UCP_ENA_4(x) (((x) & 0x1) << 4)
5826 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1)
5828 #define S_028810_UCP_ENA_5(x) (((x) & 0x1) << 5)
5829 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1)
5831 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((x) & 0x1) << 13)
5832 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1)
5837 #define S_028810_CLIP_DISABLE(x) (((x) & 0x1) << 16)
5838 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1)
5840 #define S_028810_UCP_CULL_ONLY_ENA(x) (((x) & 0x1) << 17)
5841 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1)
5843 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) & 0x1) << 18)
5844 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1)
5846 #define S_028810_DX_CLIP_SPACE_DEF(x) (((x) & 0x1) << 19)
5847 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1)
5849 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((x) & 0x1) << 20)
5850 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1)
5852 #define S_028810_VTX_KILL_OR(x) (((x) & 0x1) << 21)
5853 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1)
5855 #define S_028810_DX_RASTERIZATION_KILL(x) (((x) & 0x1) << 22)
5856 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1)
5858 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) & 0x1) << 24)
5859 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1)
5861 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) & 0x1) << 25)
5862 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1)
5864 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((x) & 0x1) << 26)
5865 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1)
5867 #define S_028810_ZCLIP_FAR_DISABLE(x) (((x) & 0x1) << 27)
5868 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1)
5871 #define S_028814_CULL_FRONT(x) (((x) & 0x1) << 0)
5872 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1)
5874 #define S_028814_CULL_BACK(x) (((x) & 0x1) << 1)
5875 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1)
5877 #define S_028814_FACE(x) (((x) & 0x1) << 2)
5878 #define G_028814_FACE(x) (((x) >> 2) & 0x1)
5897 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) & 0x1) << 11)
5898 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1)
5900 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) & 0x1) << 12)
5901 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1)
5903 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) & 0x1) << 13)
5904 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1)
5906 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) & 0x1) << 16)
5907 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1)
5909 #define S_028814_PROVOKING_VTX_LAST(x) (((x) & 0x1) << 19)
5910 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1)
5912 #define S_028814_PERSP_CORR_DIS(x) (((x) & 0x1) << 20)
5913 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1)
5915 #define S_028814_MULTI_PRIM_IB_ENA(x) (((x) & 0x1) << 21)
5916 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1)
5919 #define S_028818_VPORT_X_SCALE_ENA(x) (((x) & 0x1) << 0)
5920 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0) & 0x1)
5922 #define S_028818_VPORT_X_OFFSET_ENA(x) (((x) & 0x1) << 1)
5923 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1) & 0x1)
5925 #define S_028818_VPORT_Y_SCALE_ENA(x) (((x) & 0x1) << 2)
5926 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2) & 0x1)
5928 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((x) & 0x1) << 3)
5929 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3) & 0x1)
5931 #define S_028818_VPORT_Z_SCALE_ENA(x) (((x) & 0x1) << 4)
5932 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4) & 0x1)
5934 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((x) & 0x1) << 5)
5935 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5) & 0x1)
5937 #define S_028818_VTX_XY_FMT(x) (((x) & 0x1) << 8)
5938 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1)
5940 #define S_028818_VTX_Z_FMT(x) (((x) & 0x1) << 9)
5941 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1)
5943 #define S_028818_VTX_W0_FMT(x) (((x) & 0x1) << 10)
5944 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1)
5947 #define S_02881C_CLIP_DIST_ENA_0(x) (((x) & 0x1) << 0)
5948 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1)
5950 #define S_02881C_CLIP_DIST_ENA_1(x) (((x) & 0x1) << 1)
5951 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1)
5953 #define S_02881C_CLIP_DIST_ENA_2(x) (((x) & 0x1) << 2)
5954 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1)
5956 #define S_02881C_CLIP_DIST_ENA_3(x) (((x) & 0x1) << 3)
5957 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1)
5959 #define S_02881C_CLIP_DIST_ENA_4(x) (((x) & 0x1) << 4)
5960 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1)
5962 #define S_02881C_CLIP_DIST_ENA_5(x) (((x) & 0x1) << 5)
5963 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1)
5965 #define S_02881C_CLIP_DIST_ENA_6(x) (((x) & 0x1) << 6)
5966 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1)
5968 #define S_02881C_CLIP_DIST_ENA_7(x) (((x) & 0x1) << 7)
5969 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1)
5971 #define S_02881C_CULL_DIST_ENA_0(x) (((x) & 0x1) << 8)
5972 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1)
5974 #define S_02881C_CULL_DIST_ENA_1(x) (((x) & 0x1) << 9)
5975 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1)
5977 #define S_02881C_CULL_DIST_ENA_2(x) (((x) & 0x1) << 10)
5978 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1)
5980 #define S_02881C_CULL_DIST_ENA_3(x) (((x) & 0x1) << 11)
5981 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1)
5983 #define S_02881C_CULL_DIST_ENA_4(x) (((x) & 0x1) << 12)
5984 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1)
5986 #define S_02881C_CULL_DIST_ENA_5(x) (((x) & 0x1) << 13)
5987 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1)
5989 #define S_02881C_CULL_DIST_ENA_6(x) (((x) & 0x1) << 14)
5990 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1)
5992 #define S_02881C_CULL_DIST_ENA_7(x) (((x) & 0x1) << 15)
5993 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1)
5995 #define S_02881C_USE_VTX_POINT_SIZE(x) (((x) & 0x1) << 16)
5996 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1)
5998 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((x) & 0x1) << 17)
5999 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1)
6001 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) & 0x1) << 18)
6002 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1)
6004 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) & 0x1) << 19)
6005 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1)
6007 #define S_02881C_USE_VTX_KILL_FLAG(x) (((x) & 0x1) << 20)
6008 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1)
6010 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) & 0x1) << 21)
6011 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1)
6013 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) & 0x1) << 22)
6014 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1)
6016 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) & 0x1) << 23)
6017 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1)
6019 #define S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) & 0x1) << 24)
6020 #define G_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) >> 24) & 0x1)
6022 #define S_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) & 0x1) << 25)
6023 #define G_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) >> 25) & 0x1)
6026 #define S_028820_VTE_XY_INF_DISCARD(x) (((x) & 0x1) << 0)
6027 #define G_028820_VTE_XY_INF_DISCARD(x) (((x) >> 0) & 0x1)
6029 #define S_028820_VTE_Z_INF_DISCARD(x) (((x) & 0x1) << 1)
6030 #define G_028820_VTE_Z_INF_DISCARD(x) (((x) >> 1) & 0x1)
6032 #define S_028820_VTE_W_INF_DISCARD(x) (((x) & 0x1) << 2)
6033 #define G_028820_VTE_W_INF_DISCARD(x) (((x) >> 2) & 0x1)
6035 #define S_028820_VTE_0XNANINF_IS_0(x) (((x) & 0x1) << 3)
6036 #define G_028820_VTE_0XNANINF_IS_0(x) (((x) >> 3) & 0x1)
6038 #define S_028820_VTE_XY_NAN_RETAIN(x) (((x) & 0x1) << 4)
6039 #define G_028820_VTE_XY_NAN_RETAIN(x) (((x) >> 4) & 0x1)
6041 #define S_028820_VTE_Z_NAN_RETAIN(x) (((x) & 0x1) << 5)
6042 #define G_028820_VTE_Z_NAN_RETAIN(x) (((x) >> 5) & 0x1)
6044 #define S_028820_VTE_W_NAN_RETAIN(x) (((x) & 0x1) << 6)
6045 #define G_028820_VTE_W_NAN_RETAIN(x) (((x) >> 6) & 0x1)
6047 #define S_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) & 0x1) << 7)
6048 #define G_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) >> 7) & 0x1)
6050 #define S_028820_VS_XY_NAN_TO_INF(x) (((x) & 0x1) << 8)
6051 #define G_028820_VS_XY_NAN_TO_INF(x) (((x) >> 8) & 0x1)
6053 #define S_028820_VS_XY_INF_RETAIN(x) (((x) & 0x1) << 9)
6054 #define G_028820_VS_XY_INF_RETAIN(x) (((x) >> 9) & 0x1)
6056 #define S_028820_VS_Z_NAN_TO_INF(x) (((x) & 0x1) << 10)
6057 #define G_028820_VS_Z_NAN_TO_INF(x) (((x) >> 10) & 0x1)
6059 #define S_028820_VS_Z_INF_RETAIN(x) (((x) & 0x1) << 11)
6060 #define G_028820_VS_Z_INF_RETAIN(x) (((x) >> 11) & 0x1)
6062 #define S_028820_VS_W_NAN_TO_INF(x) (((x) & 0x1) << 12)
6063 #define G_028820_VS_W_NAN_TO_INF(x) (((x) >> 12) & 0x1)
6065 #define S_028820_VS_W_INF_RETAIN(x) (((x) & 0x1) << 13)
6066 #define G_028820_VS_W_INF_RETAIN(x) (((x) >> 13) & 0x1)
6068 #define S_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) & 0x1) << 14)
6069 #define G_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) >> 14) & 0x1)
6071 #define S_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) & 0x1) << 20)
6072 #define G_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) >> 20) & 0x1)
6078 #define S_028824_EXPAND_FULL_LENGTH(x) (((x) & 0x1) << 2)
6079 #define G_028824_EXPAND_FULL_LENGTH(x) (((x) >> 2) & 0x1)
6081 #define S_028824_FRACTIONAL_ACCUM(x) (((x) & 0x1) << 3)
6082 #define G_028824_FRACTIONAL_ACCUM(x) (((x) >> 3) & 0x1)
6084 #define S_028824_DIAMOND_ADJUST(x) (((x) & 0x1) << 4)
6085 #define G_028824_DIAMOND_ADJUST(x) (((x) >> 4) & 0x1)
6089 #define S_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) & 0x1) << 0)
6090 #define G_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) >> 0) & 0x1)
6092 #define S_02882C_LINE_FILTER_DISABLE(x) (((x) & 0x1) << 1)
6093 #define G_02882C_LINE_FILTER_DISABLE(x) (((x) >> 1) & 0x1)
6095 #define S_02882C_POINT_FILTER_DISABLE(x) (((x) & 0x1) << 2)
6096 #define G_02882C_POINT_FILTER_DISABLE(x) (((x) >> 2) & 0x1)
6098 #define S_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) & 0x1) << 3)
6099 #define G_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) >> 3) & 0x1)
6101 #define S_02882C_TRIANGLE_EXPAND_ENA(x) (((x) & 0x1) << 4)
6102 #define G_02882C_TRIANGLE_EXPAND_ENA(x) (((x) >> 4) & 0x1)
6104 #define S_02882C_LINE_EXPAND_ENA(x) (((x) & 0x1) << 5)
6105 #define G_02882C_LINE_EXPAND_ENA(x) (((x) >> 5) & 0x1)
6107 #define S_02882C_POINT_EXPAND_ENA(x) (((x) & 0x1) << 6)
6108 #define G_02882C_POINT_EXPAND_ENA(x) (((x) >> 6) & 0x1)
6110 #define S_02882C_RECTANGLE_EXPAND_ENA(x) (((x) & 0x1) << 7)
6111 #define G_02882C_RECTANGLE_EXPAND_ENA(x) (((x) >> 7) & 0x1)
6141 #define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28)
6142 #define G_028A0C_PATTERN_BIT_ORDER(x) (((x) >> 28) & 0x1)
6188 #define S_028A24_RETAIN_ORDER(x) (((x) & 0x1) << 14)
6189 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1)
6191 #define S_028A24_RETAIN_QUADS(x) (((x) & 0x1) << 15)
6192 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1)
6211 #define S_028A30_COMP_X_EN(x) (((x) & 0x1) << 0)
6212 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1)
6214 #define S_028A30_COMP_Y_EN(x) (((x) & 0x1) << 1)
6215 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1)
6217 #define S_028A30_COMP_Z_EN(x) (((x) & 0x1) << 2)
6218 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1)
6220 #define S_028A30_COMP_W_EN(x) (((x) & 0x1) << 3)
6221 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1)
6230 #define S_028A34_COMP_X_EN(x) (((x) & 0x1) << 0)
6231 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1)
6233 #define S_028A34_COMP_Y_EN(x) (((x) & 0x1) << 1)
6234 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1)
6236 #define S_028A34_COMP_Z_EN(x) (((x) & 0x1) << 2)
6237 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1)
6239 #define S_028A34_COMP_W_EN(x) (((x) & 0x1) << 3)
6240 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1)
6387 #define S_028A40_GS_C_PACK_EN(x) (((x) & 0x1) << 11)
6388 #define G_028A40_GS_C_PACK_EN(x) (((x) >> 11) & 0x1)
6390 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 13)
6391 #define G_028A40_ES_PASSTHRU(x) (((x) >> 13) & 0x1)
6393 #define S_028A40_COMPUTE_MODE(x) (((x) & 0x1) << 14)
6394 #define G_028A40_COMPUTE_MODE(x) (((x) >> 14) & 0x1)
6396 #define S_028A40_FAST_COMPUTE_MODE(x) (((x) & 0x1) << 15)
6397 #define G_028A40_FAST_COMPUTE_MODE(x) (((x) >> 15) & 0x1)
6399 #define S_028A40_ELEMENT_INFO_EN(x) (((x) & 0x1) << 16)
6400 #define G_028A40_ELEMENT_INFO_EN(x) (((x) >> 16) & 0x1)
6402 #define S_028A40_PARTIAL_THD_AT_EOI(x) (((x) & 0x1) << 17)
6403 #define G_028A40_PARTIAL_THD_AT_EOI(x) (((x) >> 17) & 0x1)
6405 #define S_028A40_SUPPRESS_CUTS(x) (((x) & 0x1) << 18)
6406 #define G_028A40_SUPPRESS_CUTS(x) (((x) >> 18) & 0x1)
6408 #define S_028A40_ES_WRITE_OPTIMIZE(x) (((x) & 0x1) << 19)
6409 #define G_028A40_ES_WRITE_OPTIMIZE(x) (((x) >> 19) & 0x1)
6411 #define S_028A40_GS_WRITE_OPTIMIZE(x) (((x) & 0x1) << 20)
6412 #define G_028A40_GS_WRITE_OPTIMIZE(x) (((x) >> 20) & 0x1)
6415 #define S_028A48_MSAA_ENABLE(x) (((x) & 0x1) << 0)
6416 #define G_028A48_MSAA_ENABLE(x) (((x) >> 0) & 0x1)
6418 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((x) & 0x1) << 1)
6419 #define G_028A48_VPORT_SCISSOR_ENABLE(x) (((x) >> 1) & 0x1)
6421 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((x) & 0x1) << 2)
6422 #define G_028A48_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1)
6424 #define S_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) & 0x1) << 3)
6425 #define G_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) >> 3) & 0x1)
6428 #define S_028A4C_WALK_SIZE(x) (((x) & 0x1) << 0)
6429 #define G_028A4C_WALK_SIZE(x) (((x) >> 0) & 0x1)
6431 #define S_028A4C_WALK_ALIGNMENT(x) (((x) & 0x1) << 1)
6432 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 1) & 0x1)
6434 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) & 0x1) << 2)
6435 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 2) & 0x1)
6437 #define S_028A4C_WALK_FENCE_ENABLE(x) (((x) & 0x1) << 3)
6438 #define G_028A4C_WALK_FENCE_ENABLE(x) (((x) >> 3) & 0x1)
6443 #define S_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) & 0x1) << 7)
6444 #define G_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) >> 7) & 0x1)
6446 #define S_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) & 0x1) << 8)
6447 #define G_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) >> 8) & 0x1)
6449 #define S_028A4C_TILE_COVER_DISABLE(x) (((x) & 0x1) << 9)
6450 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 9) & 0x1)
6452 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) & 0x1) << 10)
6453 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 10) & 0x1)
6455 #define S_028A4C_ZMM_LINE_EXTENT(x) (((x) & 0x1) << 11)
6456 #define G_028A4C_ZMM_LINE_EXTENT(x) (((x) >> 11) & 0x1)
6458 #define S_028A4C_ZMM_LINE_OFFSET(x) (((x) & 0x1) << 12)
6459 #define G_028A4C_ZMM_LINE_OFFSET(x) (((x) >> 12) & 0x1)
6461 #define S_028A4C_ZMM_RECT_EXTENT(x) (((x) & 0x1) << 13)
6462 #define G_028A4C_ZMM_RECT_EXTENT(x) (((x) >> 13) & 0x1)
6464 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((x) & 0x1) << 14)
6465 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 14) & 0x1)
6467 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) & 0x1) << 15)
6468 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 15) & 0x1)
6470 #define S_028A4C_PS_ITER_SAMPLE(x) (((x) & 0x1) << 16)
6471 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 16) & 0x1)
6473 #define S_028A4C_MULTI_SHADER_ENGINE_PRIM_DISC(x) (((x) & 0x1) << 17)
6474 #define G_028A4C_MULTI_SHADER_ENGINE_PRIM_DISC(x) (((x) >> 17) & 0x1)
6476 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) & 0x1) << 25)
6477 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 25) & 0x1)
6479 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) & 0x1) << 26)
6480 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 26) & 0x1)
6482 #define S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) & 0x1) << 27)
6483 #define G_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) >> 27) & 0x1)
6526 #define S_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) & 0x1) << 31)
6527 #define G_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) >> 31) & 0x1)
6546 #define S_028A84_PRIMITIVEID_EN(x) (((x) & 0x1) << 0)
6547 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1)
6549 #define S_028A84_DISABLE_RESET_ON_EOI(x) (((x) & 0x1) << 1)
6550 #define G_028A84_DISABLE_RESET_ON_EOI(x) (((x) >> 1) & 0x1)
6609 #define S_028A90_EXTENDED_EVENT(x) (((x) & 0x1) << 27)
6610 #define G_028A90_EXTENDED_EVENT(x) (((x) >> 27) & 0x1)
6613 #define S_028A94_RESET_EN(x) (((x) & 0x1) << 0)
6614 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1)
6622 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) & 0x1) << 16)
6623 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1)
6625 #define S_028AA8_SWITCH_ON_EOP(x) (((x) & 0x1) << 17)
6626 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1)
6628 #define S_028AA8_PARTIAL_ES_WAVE_ON(x) (((x) & 0x1) << 18)
6629 #define G_028AA8_PARTIAL_ES_WAVE_ON(x) (((x) >> 18) & 0x1)
6631 #define S_028AA8_SWITCH_ON_EOI(x) (((x) & 0x1) << 19)
6632 #define G_028AA8_SWITCH_ON_EOI(x) (((x) >> 19) & 0x1)
6643 #define S_028AB4_REUSE_OFF(x) (((x) & 0x1) << 0)
6644 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1)
6647 #define S_028AB8_VTX_CNT_EN(x) (((x) & 0x1) << 0)
6648 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1)
6651 #define S_028ABC_LINEAR(x) (((x) & 0x1) << 0)
6652 #define G_028ABC_LINEAR(x) (((x) >> 0) & 0x1)
6654 #define S_028ABC_FULL_CACHE(x) (((x) & 0x1) << 1)
6655 #define G_028ABC_FULL_CACHE(x) (((x) >> 1) & 0x1)
6657 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 2)
6658 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 2) & 0x1)
6660 #define S_028ABC_PRELOAD(x) (((x) & 0x1) << 3)
6661 #define G_028ABC_PRELOAD(x) (((x) >> 3) & 0x1)
6669 #define S_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) & 0x1) << 16)
6670 #define G_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) >> 16) & 0x1)
6690 #define S_028AC0_ENABLE0(x) (((x) & 0x1) << 24)
6691 #define G_028AC0_ENABLE0(x) (((x) >> 24) & 0x1)
6711 #define S_028AC4_ENABLE1(x) (((x) & 0x1) << 24)
6712 #define G_028AC4_ENABLE1(x) (((x) >> 24) & 0x1)
6768 #define S_028B54_HS_EN(x) (((x) & 0x1) << 2)
6769 #define G_028B54_HS_EN(x) (((x) >> 2) & 0x1)
6777 #define S_028B54_GS_EN(x) (((x) & 0x1) << 5)
6778 #define G_028B54_GS_EN(x) (((x) >> 5) & 0x1)
6786 #define S_028B54_DYNAMIC_HS(x) (((x) & 0x1) << 8)
6787 #define G_028B54_DYNAMIC_HS(x) (((x) >> 8) & 0x1)
6836 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((x) & 0x1) << 8)
6837 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1)
6842 #define S_028B6C_DISABLE_DONUTS(x) (((x) & 0x1) << 14)
6843 #define G_028B6C_DISABLE_DONUTS(x) (((x) >> 14) & 0x1)
6846 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) & 0x1) << 0)
6847 #define G_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) >> 0) & 0x1)
6861 #define S_028B70_OFFSET_ROUND(x) (((x) & 0x1) << 16)
6862 #define G_028B70_OFFSET_ROUND(x) (((x) >> 16) & 0x1)
6868 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) & 0x1) << 8)
6869 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1)
6877 #define S_028B90_ENABLE(x) (((x) & 0x1) << 0)
6878 #define G_028B90_ENABLE(x) (((x) >> 0) & 0x1)
6884 #define S_028B94_STREAMOUT_0_EN(x) (((x) & 0x1) << 0)
6885 #define G_028B94_STREAMOUT_0_EN(x) (((x) >> 0) & 0x1)
6887 #define S_028B94_STREAMOUT_1_EN(x) (((x) & 0x1) << 1)
6888 #define G_028B94_STREAMOUT_1_EN(x) (((x) >> 1) & 0x1)
6890 #define S_028B94_STREAMOUT_2_EN(x) (((x) & 0x1) << 2)
6891 #define G_028B94_STREAMOUT_2_EN(x) (((x) >> 2) & 0x1)
6893 #define S_028B94_STREAMOUT_3_EN(x) (((x) & 0x1) << 3)
6894 #define G_028B94_STREAMOUT_3_EN(x) (((x) >> 3) & 0x1)
6902 #define S_028B94_USE_RAST_STREAM_MASK(x) (((x) & 0x1) << 31)
6903 #define G_028B94_USE_RAST_STREAM_MASK(x) (((x) >> 31) & 0x1)
6969 #define S_028BDC_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9)
6970 #define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1)
6972 #define S_028BDC_LAST_PIXEL(x) (((x) & 0x1) << 10)
6973 #define G_028BDC_LAST_PIXEL(x) (((x) >> 10) & 0x1)
6975 #define S_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) & 0x1) << 11)
6976 #define G_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) >> 11) & 0x1)
6978 #define S_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) & 0x1) << 12)
6979 #define G_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) >> 12) & 0x1)
6985 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4)
6986 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1)
6998 #define S_028BE4_PIX_CENTER(x) (((x) & 0x1) << 0)
6999 #define G_028BE4_PIX_CENTER(x) (((x) >> 0) & 0x1)
7493 #define S_028C70_LINEAR_GENERAL(x) (((x) & 0x1) << 7)
7494 #define G_028C70_LINEAR_GENERAL(x) (((x) >> 7) & 0x1)
7512 #define S_028C70_FAST_CLEAR(x) (((x) & 0x1) << 13)
7513 #define G_028C70_FAST_CLEAR(x) (((x) >> 13) & 0x1)
7515 #define S_028C70_COMPRESSION(x) (((x) & 0x1) << 14)
7516 #define G_028C70_COMPRESSION(x) (((x) >> 14) & 0x1)
7518 #define S_028C70_BLEND_CLAMP(x) (((x) & 0x1) << 15)
7519 #define G_028C70_BLEND_CLAMP(x) (((x) >> 15) & 0x1)
7521 #define S_028C70_BLEND_BYPASS(x) (((x) & 0x1) << 16)
7522 #define G_028C70_BLEND_BYPASS(x) (((x) >> 16) & 0x1)
7524 #define S_028C70_SIMPLE_FLOAT(x) (((x) & 0x1) << 17)
7525 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 17) & 0x1)
7527 #define S_028C70_ROUND_MODE(x) (((x) & 0x1) << 18)
7528 #define G_028C70_ROUND_MODE(x) (((x) >> 18) & 0x1)
7530 #define S_028C70_CMASK_IS_LINEAR(x) (((x) & 0x1) << 19)
7531 #define G_028C70_CMASK_IS_LINEAR(x) (((x) >> 19) & 0x1)
7568 #define S_028C74_FORCE_DST_ALPHA_1(x) (((x) & 0x1) << 17)
7569 #define G_028C74_FORCE_DST_ALPHA_1(x) (((x) >> 17) & 0x1)