Lines Matching defs:x

41 #define		EVENT_TYPE(x)                           ((x) << 0)  argument
42 #define EVENT_INDEX(x) ((x) << 8) argument
55 #define PRED_OP(x) ((x) << 16) argument
98 #define PKT_TYPE_S(x) (((x) & 0x3) << 30) argument
99 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
101 #define PKT_COUNT_S(x) (((x) & 0x3FFF) << 16) argument
102 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
104 #define PKT0_BASE_INDEX_S(x) (((x) & 0xFFFF) << 0) argument
105 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
107 #define PKT3_IT_OPCODE_S(x) (((x) & 0xFF) << 8) argument
108 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
110 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1) argument
115 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((x) & 0x1) << 0) argument
117 #define S_0085F0_DEST_BASE_0_ENA(x) (((x) & 0x1) << 0) argument
118 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
120 #define S_0085F0_DEST_BASE_1_ENA(x) (((x) & 0x1) << 1) argument
121 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
124 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6) argument
125 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
127 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((x) & 0x1) << 7) argument
128 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
130 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((x) & 0x1) << 8) argument
131 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
133 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((x) & 0x1) << 9) argument
134 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
136 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((x) & 0x1) << 10) argument
137 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
139 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((x) & 0x1) << 11) argument
140 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
142 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((x) & 0x1) << 12) argument
143 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
145 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((x) & 0x1) << 13) argument
146 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
148 #define S_0085F0_DB_DEST_BASE_ENA(x) (((x) & 0x1) << 14) argument
149 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
151 #define S_0085F0_DEST_BASE_2_ENA(x) (((x) & 0x1) << 19) argument
152 #define G_0085F0_DEST_BASE_2_ENA(x) (((x) >> 19) & 0x1) argument
154 #define S_0085F0_DEST_BASE_3_ENA(x) (((x) & 0x1) << 21) argument
155 #define G_0085F0_DEST_BASE_3_ENA(x) (((x) >> 21) & 0x1) argument
157 #define S_0085F0_TCL1_ACTION_ENA(x) (((x) & 0x1) << 22) argument
158 #define G_0085F0_TCL1_ACTION_ENA(x) (((x) >> 22) & 0x1) argument
160 #define S_0085F0_TC_ACTION_ENA(x) (((x) & 0x1) << 23) argument
161 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
163 #define S_0085F0_CB_ACTION_ENA(x) (((x) & 0x1) << 25) argument
164 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
166 #define S_0085F0_DB_ACTION_ENA(x) (((x) & 0x1) << 26) argument
167 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
169 #define S_0085F0_SH_KCACHE_ACTION_ENA(x) (((x) & 0x1) << 27) argument
170 #define G_0085F0_SH_KCACHE_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
172 #define S_0085F0_SH_ICACHE_ACTION_ENA(x) (((x) & 0x1) << 29) argument
173 #define G_0085F0_SH_ICACHE_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
178 #define S_0088B0_PRIM_COUNT(x) (((x) & 0x3FF) << 0) argument
179 #define G_0088B0_PRIM_COUNT(x) (((x) >> 0) & 0x3FF) argument
182 #define S_0088C4_VS_NO_EXTRA_BUFFER(x) (((x) & 0x1) << 5) argument
183 #define G_0088C4_VS_NO_EXTRA_BUFFER(x) (((x) >> 5) & 0x1) argument
185 #define S_0088C4_STREAMOUT_FULL_FLUSH(x) (((x) & 0x1) << 13) argument
186 #define G_0088C4_STREAMOUT_FULL_FLUSH(x) (((x) >> 13) & 0x1) argument
188 #define S_0088C4_ES_LIMIT(x) (((x) & 0x1F) << 16) argument
189 #define G_0088C4_ES_LIMIT(x) (((x) >> 16) & 0x1F) argument
194 #define S_0088D4_VERT_REUSE(x) (((x) & 0x1F) << 0) argument
195 #define G_0088D4_VERT_REUSE(x) (((x) >> 0) & 0x1F) argument
198 #define S_008958_PRIM_TYPE(x) (((x) & 0x3F) << 0) argument
199 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
231 #define S_00895C_INDEX_TYPE(x) (((x) & 0x03) << 0) argument
232 #define G_00895C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
243 #define S_008988_SIZE(x) (((x) & 0xFFFF) << 0) argument
244 #define G_008988_SIZE(x) (((x) >> 0) & 0xFFFF) argument
247 #define S_0089B0_OFFCHIP_BUFFERING(x) (((x) & 0x7F) << 0) argument
248 #define G_0089B0_OFFCHIP_BUFFERING(x) (((x) >> 0) & 0x7F) argument
252 #define S_008A14_CLIP_VTX_REORDER_ENA(x) (((x) & 0x1) << 0) argument
253 #define G_008A14_CLIP_VTX_REORDER_ENA(x) (((x) >> 0) & 0x1) argument
255 #define S_008A14_NUM_CLIP_SEQ(x) (((x) & 0x03) << 1) argument
256 #define G_008A14_NUM_CLIP_SEQ(x) (((x) >> 1) & 0x03) argument
258 #define S_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((x) & 0x1) << 3) argument
259 #define G_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((x) >> 3) & 0x1) argument
261 #define S_008A14_VE_NAN_PROC_DISABLE(x) (((x) & 0x1) << 4) argument
262 #define G_008A14_VE_NAN_PROC_DISABLE(x) (((x) >> 4) & 0x1) argument
265 #define S_008A60_LINE_STIPPLE_VALUE(x) (((x) & 0xFFFFFF) << 0) argument
266 #define G_008A60_LINE_STIPPLE_VALUE(x) (((x) >> 0) & 0xFFFFFF) argument
269 #define S_008B10_CURRENT_PTR(x) (((x) & 0x0F) << 0) argument
270 #define G_008B10_CURRENT_PTR(x) (((x) >> 0) & 0x0F) argument
272 #define S_008B10_CURRENT_COUNT(x) (((x) & 0xFF) << 8) argument
273 #define G_008B10_CURRENT_COUNT(x) (((x) >> 8) & 0xFF) argument
276 #define S_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((x) & 0x1) << 0) argument
277 #define G_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((x) >> 0) & 0x1) argument
279 #define S_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((x) & 0x1) << 1) argument
280 #define G_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((x) >> 1) & 0x1) argument
282 #define S_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((x) & 0x1) << 2) argument
283 #define G_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((x) >> 2) & 0x1) argument
285 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((x) & 0x1) << 3) argument
286 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((x) >> 3) & 0x1) argument
288 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((x) & 0x1) << 4) argument
289 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((x) >> 4) & 0x1) argument
291 #define S_008BF0_DISABLE_SCISSOR_FIX(x) (((x) & 0x1) << 5) argument
292 #define G_008BF0_DISABLE_SCISSOR_FIX(x) (((x) >> 5) & 0x1) argument
294 #define S_008BF0_DISABLE_PW_BUBBLE_COLLAPSE(x) (((x) & 0x03) << 6) argument
295 #define G_008BF0_DISABLE_PW_BUBBLE_COLLAPSE(x) (((x) >> 6) & 0x03) argument
297 #define S_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((x) & 0x1) << 8) argument
298 #define G_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((x) >> 8) & 0x1) argument
300 #define S_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((x) & 0x1) << 9) argument
301 #define G_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((x) >> 9) & 0x1) argument
304 #define S_008C08_INST_INVALIDATE(x) (((x) & 0x1) << 0) argument
305 #define G_008C08_INST_INVALIDATE(x) (((x) >> 0) & 0x1) argument
307 #define S_008C08_DATA_INVALIDATE(x) (((x) & 0x1) << 1) argument
308 #define G_008C08_DATA_INVALIDATE(x) (((x) >> 1) & 0x1) argument
311 #define S_008C0C_RET(x) (((x) & 0x7F) << 0) argument
312 #define G_008C0C_RET(x) (((x) >> 0) & 0x7F) argument
314 #define S_008C0C_RUI(x) (((x) & 0x07) << 7) argument
315 #define G_008C0C_RUI(x) (((x) >> 7) & 0x07) argument
317 #define S_008C0C_RNG(x) (((x) & 0x7FF) << 10) argument
318 #define G_008C0C_RNG(x) (((x) >> 10) & 0x7FF) argument
1443 #define S_008DFC_EN(x) (((x) & 0x0F) << 0) argument
1444 #define G_008DFC_EN(x) (((x) >> 0) & 0x0F) argument
1446 #define S_008DFC_TGT(x) (((x) & 0x3F) << 4) argument
1447 #define G_008DFC_TGT(x) (((x) >> 4) & 0x3F) argument
1454 #define S_008DFC_COMPR(x) (((x) & 0x1) << 10) argument
1455 #define G_008DFC_COMPR(x) (((x) >> 10) & 0x1) argument
1457 #define S_008DFC_DONE(x) (((x) & 0x1) << 11) argument
1458 #define G_008DFC_DONE(x) (((x) >> 11) & 0x1) argument
1460 #define S_008DFC_VM(x) (((x) & 0x1) << 12) argument
1461 #define G_008DFC_VM(x) (((x) >> 12) & 0x1) argument
1463 #define S_008DFC_ENCODING(x) (((x) & 0x3F) << 26) argument
1464 #define G_008DFC_ENCODING(x) (((x) >> 26) & 0x3F) argument
3267 #define S_008F04_BASE_ADDRESS_HI(x) (((x) & 0xFFFF) << 0) argument
3268 #define G_008F04_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFFFF) argument
3270 #define S_008F04_STRIDE(x) (((x) & 0x3FFF) << 16) argument
3271 #define G_008F04_STRIDE(x) (((x) >> 16) & 0x3FFF) argument
3273 #define S_008F04_CACHE_SWIZZLE(x) (((x) & 0x1) << 30) argument
3274 #define G_008F04_CACHE_SWIZZLE(x) (((x) >> 30) & 0x1) argument
3276 #define S_008F04_SWIZZLE_ENABLE(x) (((x) & 0x1) << 31) argument
3277 #define G_008F04_SWIZZLE_ENABLE(x) (((x) >> 31) & 0x1) argument
3281 #define S_008F0C_DST_SEL_X(x) (((x) & 0x07) << 0) argument
3282 #define G_008F0C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
3292 #define S_008F0C_DST_SEL_Y(x) (((x) & 0x07) << 3) argument
3293 #define G_008F0C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
3303 #define S_008F0C_DST_SEL_Z(x) (((x) & 0x07) << 6) argument
3304 #define G_008F0C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
3314 #define S_008F0C_DST_SEL_W(x) (((x) & 0x07) << 9) argument
3315 #define G_008F0C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
3325 #define S_008F0C_NUM_FORMAT(x) (((x) & 0x07) << 12) argument
3326 #define G_008F0C_NUM_FORMAT(x) (((x) >> 12) & 0x07) argument
3336 #define S_008F0C_DATA_FORMAT(x) (((x) & 0x0F) << 15) argument
3337 #define G_008F0C_DATA_FORMAT(x) (((x) >> 15) & 0x0F) argument
3355 #define S_008F0C_ELEMENT_SIZE(x) (((x) & 0x03) << 19) argument
3356 #define G_008F0C_ELEMENT_SIZE(x) (((x) >> 19) & 0x03) argument
3358 #define S_008F0C_INDEX_STRIDE(x) (((x) & 0x03) << 21) argument
3359 #define G_008F0C_INDEX_STRIDE(x) (((x) >> 21) & 0x03) argument
3361 #define S_008F0C_ADD_TID_ENABLE(x) (((x) & 0x1) << 23) argument
3362 #define G_008F0C_ADD_TID_ENABLE(x) (((x) >> 23) & 0x1) argument
3364 #define S_008F0C_HASH_ENABLE(x) (((x) & 0x1) << 25) argument
3365 #define G_008F0C_HASH_ENABLE(x) (((x) >> 25) & 0x1) argument
3367 #define S_008F0C_HEAP(x) (((x) & 0x1) << 26) argument
3368 #define G_008F0C_HEAP(x) (((x) >> 26) & 0x1) argument
3370 #define S_008F0C_TYPE(x) (((x) & 0x03) << 30) argument
3371 #define G_008F0C_TYPE(x) (((x) >> 30) & 0x03) argument
3379 #define S_008F14_BASE_ADDRESS_HI(x) (((x) & 0xFF) << 0) argument
3380 #define G_008F14_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
3382 #define S_008F14_MIN_LOD(x) (((x) & 0xFFF) << 8) argument
3383 #define G_008F14_MIN_LOD(x) (((x) >> 8) & 0xFFF) argument
3385 #define S_008F14_DATA_FORMAT(x) (((x) & 0x3F) << 20) argument
3386 #define G_008F14_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
3445 #define S_008F14_NUM_FORMAT(x) (((x) & 0x0F) << 26) argument
3446 #define G_008F14_NUM_FORMAT(x) (((x) >> 26) & 0x0F) argument
3465 #define S_008F18_WIDTH(x) (((x) & 0x3FFF) << 0) argument
3466 #define G_008F18_WIDTH(x) (((x) >> 0) & 0x3FFF) argument
3468 #define S_008F18_HEIGHT(x) (((x) & 0x3FFF) << 14) argument
3469 #define G_008F18_HEIGHT(x) (((x) >> 14) & 0x3FFF) argument
3471 #define S_008F18_PERF_MOD(x) (((x) & 0x07) << 28) argument
3472 #define G_008F18_PERF_MOD(x) (((x) >> 28) & 0x07) argument
3474 #define S_008F18_INTERLACED(x) (((x) & 0x1) << 31) argument
3475 #define G_008F18_INTERLACED(x) (((x) >> 31) & 0x1) argument
3478 #define S_008F1C_DST_SEL_X(x) (((x) & 0x07) << 0) argument
3479 #define G_008F1C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
3489 #define S_008F1C_DST_SEL_Y(x) (((x) & 0x07) << 3) argument
3490 #define G_008F1C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
3500 #define S_008F1C_DST_SEL_Z(x) (((x) & 0x07) << 6) argument
3501 #define G_008F1C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
3511 #define S_008F1C_DST_SEL_W(x) (((x) & 0x07) << 9) argument
3512 #define G_008F1C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
3522 #define S_008F1C_BASE_LEVEL(x) (((x) & 0x0F) << 12) argument
3523 #define G_008F1C_BASE_LEVEL(x) (((x) >> 12) & 0x0F) argument
3525 #define S_008F1C_LAST_LEVEL(x) (((x) & 0x0F) << 16) argument
3526 #define G_008F1C_LAST_LEVEL(x) (((x) >> 16) & 0x0F) argument
3528 #define S_008F1C_TILING_INDEX(x) (((x) & 0x1F) << 20) argument
3529 #define G_008F1C_TILING_INDEX(x) (((x) >> 20) & 0x1F) argument
3531 #define S_008F1C_POW2_PAD(x) (((x) & 0x1) << 25) argument
3532 #define G_008F1C_POW2_PAD(x) (((x) >> 25) & 0x1) argument
3534 #define S_008F1C_TYPE(x) (((x) & 0x0F) << 28) argument
3535 #define G_008F1C_TYPE(x) (((x) >> 28) & 0x0F) argument
3554 #define S_008F20_DEPTH(x) (((x) & 0x1FFF) << 0) argument
3555 #define G_008F20_DEPTH(x) (((x) >> 0) & 0x1FFF) argument
3557 #define S_008F20_PITCH(x) (((x) & 0x3FFF) << 13) argument
3558 #define G_008F20_PITCH(x) (((x) >> 13) & 0x3FFF) argument
3561 #define S_008F24_BASE_ARRAY(x) (((x) & 0x1FFF) << 0) argument
3562 #define G_008F24_BASE_ARRAY(x) (((x) >> 0) & 0x1FFF) argument
3564 #define S_008F24_LAST_ARRAY(x) (((x) & 0x1FFF) << 13) argument
3565 #define G_008F24_LAST_ARRAY(x) (((x) >> 13) & 0x1FFF) argument
3568 #define S_008F28_MIN_LOD_WARN(x) (((x) & 0xFFF) << 0) argument
3569 #define G_008F28_MIN_LOD_WARN(x) (((x) >> 0) & 0xFFF) argument
3573 #define S_008F30_CLAMP_X(x) (((x) & 0x07) << 0) argument
3574 #define G_008F30_CLAMP_X(x) (((x) >> 0) & 0x07) argument
3584 #define S_008F30_CLAMP_Y(x) (((x) & 0x07) << 3) argument
3585 #define G_008F30_CLAMP_Y(x) (((x) >> 3) & 0x07) argument
3595 #define S_008F30_CLAMP_Z(x) (((x) & 0x07) << 6) argument
3596 #define G_008F30_CLAMP_Z(x) (((x) >> 6) & 0x07) argument
3606 #define S_008F30_DEPTH_COMPARE_FUNC(x) (((x) & 0x07) << 12) argument
3607 #define G_008F30_DEPTH_COMPARE_FUNC(x) (((x) >> 12) & 0x07) argument
3617 #define S_008F30_FORCE_UNNORMALIZED(x) (((x) & 0x1) << 15) argument
3618 #define G_008F30_FORCE_UNNORMALIZED(x) (((x) >> 15) & 0x1) argument
3620 #define S_008F30_MC_COORD_TRUNC(x) (((x) & 0x1) << 19) argument
3621 #define G_008F30_MC_COORD_TRUNC(x) (((x) >> 19) & 0x1) argument
3623 #define S_008F30_FORCE_DEGAMMA(x) (((x) & 0x1) << 20) argument
3624 #define G_008F30_FORCE_DEGAMMA(x) (((x) >> 20) & 0x1) argument
3626 #define S_008F30_TRUNC_COORD(x) (((x) & 0x1) << 27) argument
3627 #define G_008F30_TRUNC_COORD(x) (((x) >> 27) & 0x1) argument
3629 #define S_008F30_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 28) argument
3630 #define G_008F30_DISABLE_CUBE_WRAP(x) (((x) >> 28) & 0x1) argument
3632 #define S_008F30_FILTER_MODE(x) (((x) & 0x03) << 29) argument
3633 #define G_008F30_FILTER_MODE(x) (((x) >> 29) & 0x03) argument
3636 #define S_008F34_MIN_LOD(x) (((x) & 0xFFF) << 0) argument
3637 #define G_008F34_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
3639 #define S_008F34_MAX_LOD(x) (((x) & 0xFFF) << 12) argument
3640 #define G_008F34_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
3642 #define S_008F34_PERF_MIP(x) (((x) & 0x0F) << 24) argument
3643 #define G_008F34_PERF_MIP(x) (((x) >> 24) & 0x0F) argument
3645 #define S_008F34_PERF_Z(x) (((x) & 0x0F) << 28) argument
3646 #define G_008F34_PERF_Z(x) (((x) >> 28) & 0x0F) argument
3649 #define S_008F38_LOD_BIAS(x) (((x) & 0x3FFF) << 0) argument
3650 #define G_008F38_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
3652 #define S_008F38_LOD_BIAS_SEC(x) (((x) & 0x3F) << 14) argument
3653 #define G_008F38_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
3655 #define S_008F38_XY_MAG_FILTER(x) (((x) & 0x03) << 20) argument
3656 #define G_008F38_XY_MAG_FILTER(x) (((x) >> 20) & 0x03) argument
3660 #define S_008F38_XY_MIN_FILTER(x) (((x) & 0x03) << 22) argument
3661 #define G_008F38_XY_MIN_FILTER(x) (((x) >> 22) & 0x03) argument
3665 #define S_008F38_Z_FILTER(x) (((x) & 0x03) << 24) argument
3666 #define G_008F38_Z_FILTER(x) (((x) >> 24) & 0x03) argument
3671 #define S_008F38_MIP_FILTER(x) (((x) & 0x03) << 26) argument
3672 #define G_008F38_MIP_FILTER(x) (((x) >> 26) & 0x03) argument
3677 #define S_008F38_MIP_POINT_PRECLAMP(x) (((x) & 0x1) << 28) argument
3678 #define G_008F38_MIP_POINT_PRECLAMP(x) (((x) >> 28) & 0x1) argument
3680 #define S_008F38_DISABLE_LSB_CEIL(x) (((x) & 0x1) << 29) argument
3681 #define G_008F38_DISABLE_LSB_CEIL(x) (((x) >> 29) & 0x1) argument
3683 #define S_008F38_FILTER_PREC_FIX(x) (((x) & 0x1) << 30) argument
3684 #define G_008F38_FILTER_PREC_FIX(x) (((x) >> 30) & 0x1) argument
3687 #define S_008F3C_BORDER_COLOR_PTR(x) (((x) & 0xFFF) << 0) argument
3688 #define G_008F3C_BORDER_COLOR_PTR(x) (((x) >> 0) & 0xFFF) argument
3690 #define S_008F3C_BORDER_COLOR_TYPE(x) (((x) & 0x03) << 30) argument
3691 #define G_008F3C_BORDER_COLOR_TYPE(x) (((x) >> 30) & 0x03) argument
3698 #define S_0090DC_VS_LOW_THRESHOLD(x) (((x) & 0x0F) << 0) argument
3699 #define G_0090DC_VS_LOW_THRESHOLD(x) (((x) >> 0) & 0x0F) argument
3701 #define S_0090DC_GS_LOW_THRESHOLD(x) (((x) & 0x0F) << 4) argument
3702 #define G_0090DC_GS_LOW_THRESHOLD(x) (((x) >> 4) & 0x0F) argument
3704 #define S_0090DC_ES_LOW_THRESHOLD(x) (((x) & 0x0F) << 8) argument
3705 #define G_0090DC_ES_LOW_THRESHOLD(x) (((x) >> 8) & 0x0F) argument
3707 #define S_0090DC_HS_LOW_THRESHOLD(x) (((x) & 0x0F) << 12) argument
3708 #define G_0090DC_HS_LOW_THRESHOLD(x) (((x) >> 12) & 0x0F) argument
3710 #define S_0090DC_LS_LOW_THRESHOLD(x) (((x) & 0x0F) << 16) argument
3711 #define G_0090DC_LS_LOW_THRESHOLD(x) (((x) >> 16) & 0x0F) argument
3714 #define S_0090E0_PS_CU_EN(x) (((x) & 0xFFFF) << 0) argument
3715 #define G_0090E0_PS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3717 #define S_0090E0_VS_CU_EN(x) (((x) & 0xFFFF) << 16) argument
3718 #define G_0090E0_VS_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3721 #define S_0090E4_GS_CU_EN(x) (((x) & 0xFFFF) << 0) argument
3722 #define G_0090E4_GS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3724 #define S_0090E4_ES_CU_EN(x) (((x) & 0xFFFF) << 16) argument
3725 #define G_0090E4_ES_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3728 #define S_0090E8_LSHS_CU_EN(x) (((x) & 0xFFFF) << 0) argument
3729 #define G_0090E8_LSHS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3732 #define S_0090EC_MAX_WAVE_ID(x) (((x) & 0xFFF) << 0) argument
3733 #define G_0090EC_MAX_WAVE_ID(x) (((x) >> 0) & 0xFFF) argument
3736 #define S_0090F0_RING_ORDER_TS0(x) (((x) & 0x07) << 0) argument
3737 #define G_0090F0_RING_ORDER_TS0(x) (((x) >> 0) & 0x07) argument
3740 #define S_0090F0_RING_ORDER_TS1(x) (((x) & 0x07) << 3) argument
3741 #define G_0090F0_RING_ORDER_TS1(x) (((x) >> 3) & 0x07) argument
3743 #define S_0090F0_RING_ORDER_TS2(x) (((x) & 0x07) << 6) argument
3744 #define G_0090F0_RING_ORDER_TS2(x) (((x) >> 6) & 0x07) argument
3747 #define S_0090F4_TS0_DURATION(x) (((x) & 0xFFFF) << 0) argument
3748 #define G_0090F4_TS0_DURATION(x) (((x) >> 0) & 0xFFFF) argument
3750 #define S_0090F4_TS1_DURATION(x) (((x) & 0xFFFF) << 16) argument
3751 #define G_0090F4_TS1_DURATION(x) (((x) >> 16) & 0xFFFF) argument
3754 #define S_0090F8_TS2_DURATION(x) (((x) & 0xFFFF) << 0) argument
3755 #define G_0090F8_TS2_DURATION(x) (((x) >> 0) & 0xFFFF) argument
3758 #define S_009100_GPR_WRITE_PRIORITY(x) (((x) & 0x1FFFFF) << 0) argument
3759 #define G_009100_GPR_WRITE_PRIORITY(x) (((x) >> 0) & 0x1FFFFF) argument
3761 #define S_009100_EXP_PRIORITY_ORDER(x) (((x) & 0x07) << 21) argument
3762 #define G_009100_EXP_PRIORITY_ORDER(x) (((x) >> 21) & 0x07) argument
3764 #define S_009100_ENABLE_SQG_TOP_EVENTS(x) (((x) & 0x1) << 24) argument
3765 #define G_009100_ENABLE_SQG_TOP_EVENTS(x) (((x) >> 24) & 0x1) argument
3767 #define S_009100_ENABLE_SQG_BOP_EVENTS(x) (((x) & 0x1) << 25) argument
3768 #define G_009100_ENABLE_SQG_BOP_EVENTS(x) (((x) >> 25) & 0x1) argument
3770 #define S_009100_RSRC_MGMT_RESET(x) (((x) & 0x1) << 26) argument
3771 #define G_009100_RSRC_MGMT_RESET(x) (((x) >> 26) & 0x1) argument
3774 #define S_00913C_VTX_DONE_DELAY(x) (((x) & 0x0F) << 0) argument
3775 #define G_00913C_VTX_DONE_DELAY(x) (((x) >> 0) & 0x0F) argument
3793 #define S_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((x) & 0x1) << 4) argument
3794 #define G_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((x) >> 4) & 0x1) argument
3796 #define S_00913C_PC_LIMIT_ENABLE(x) (((x) & 0x1) << 6) argument
3797 #define G_00913C_PC_LIMIT_ENABLE(x) (((x) >> 6) & 0x1) argument
3799 #define S_00913C_PC_LIMIT_STRICT(x) (((x) & 0x1) << 7) argument
3800 #define G_00913C_PC_LIMIT_STRICT(x) (((x) >> 7) & 0x1) argument
3802 #define S_00913C_PC_LIMIT_SIZE(x) (((x) & 0xFFFF) << 16) argument
3803 #define G_00913C_PC_LIMIT_SIZE(x) (((x) >> 16) & 0xFFFF) argument
3806 #define S_00936C_TYPE_A(x) (((x) & 0x0F) << 0) argument
3807 #define G_00936C_TYPE_A(x) (((x) >> 0) & 0x0F) argument
3809 #define S_00936C_VGPR_A(x) (((x) & 0x07) << 4) argument
3810 #define G_00936C_VGPR_A(x) (((x) >> 4) & 0x07) argument
3812 #define S_00936C_SGPR_A(x) (((x) & 0x07) << 7) argument
3813 #define G_00936C_SGPR_A(x) (((x) >> 7) & 0x07) argument
3815 #define S_00936C_LDS_A(x) (((x) & 0x07) << 10) argument
3816 #define G_00936C_LDS_A(x) (((x) >> 10) & 0x07) argument
3818 #define S_00936C_WAVES_A(x) (((x) & 0x03) << 13) argument
3819 #define G_00936C_WAVES_A(x) (((x) >> 13) & 0x03) argument
3821 #define S_00936C_EN_A(x) (((x) & 0x1) << 15) argument
3822 #define G_00936C_EN_A(x) (((x) >> 15) & 0x1) argument
3824 #define S_00936C_TYPE_B(x) (((x) & 0x0F) << 16) argument
3825 #define G_00936C_TYPE_B(x) (((x) >> 16) & 0x0F) argument
3827 #define S_00936C_VGPR_B(x) (((x) & 0x07) << 20) argument
3828 #define G_00936C_VGPR_B(x) (((x) >> 20) & 0x07) argument
3830 #define S_00936C_SGPR_B(x) (((x) & 0x07) << 23) argument
3831 #define G_00936C_SGPR_B(x) (((x) >> 23) & 0x07) argument
3833 #define S_00936C_LDS_B(x) (((x) & 0x07) << 26) argument
3834 #define G_00936C_LDS_B(x) (((x) >> 26) & 0x07) argument
3836 #define S_00936C_WAVES_B(x) (((x) & 0x03) << 29) argument
3837 #define G_00936C_WAVES_B(x) (((x) >> 29) & 0x03) argument
3839 #define S_00936C_EN_B(x) (((x) & 0x1) << 31) argument
3840 #define G_00936C_EN_B(x) (((x) >> 31) & 0x1) argument
3844 #define S_009858_MSAA1_X(x) (((x) & 0x03) << 0) argument
3845 #define G_009858_MSAA1_X(x) (((x) >> 0) & 0x03) argument
3847 #define S_009858_MSAA1_Y(x) (((x) & 0x03) << 2) argument
3848 #define G_009858_MSAA1_Y(x) (((x) >> 2) & 0x03) argument
3850 #define S_009858_MSAA2_X(x) (((x) & 0x03) << 4) argument
3851 #define G_009858_MSAA2_X(x) (((x) >> 4) & 0x03) argument
3853 #define S_009858_MSAA2_Y(x) (((x) & 0x03) << 6) argument
3854 #define G_009858_MSAA2_Y(x) (((x) >> 6) & 0x03) argument
3856 #define S_009858_MSAA4_X(x) (((x) & 0x03) << 8) argument
3857 #define G_009858_MSAA4_X(x) (((x) >> 8) & 0x03) argument
3859 #define S_009858_MSAA4_Y(x) (((x) & 0x03) << 10) argument
3860 #define G_009858_MSAA4_Y(x) (((x) >> 10) & 0x03) argument
3862 #define S_009858_MSAA8_X(x) (((x) & 0x03) << 12) argument
3863 #define G_009858_MSAA8_X(x) (((x) >> 12) & 0x03) argument
3865 #define S_009858_MSAA8_Y(x) (((x) & 0x03) << 14) argument
3866 #define G_009858_MSAA8_Y(x) (((x) >> 14) & 0x03) argument
3868 #define S_009858_MSAA16_X(x) (((x) & 0x03) << 16) argument
3869 #define G_009858_MSAA16_X(x) (((x) >> 16) & 0x03) argument
3871 #define S_009858_MSAA16_Y(x) (((x) & 0x03) << 18) argument
3872 #define G_009858_MSAA16_Y(x) (((x) >> 18) & 0x03) argument
3875 #define S_009910_MICRO_TILE_MODE(x) (((x) & 0x03) << 0) argument
3876 #define G_009910_MICRO_TILE_MODE(x) (((x) >> 0) & 0x03) argument
3882 #define S_009910_ARRAY_MODE(x) (((x) & 0x0F) << 2) argument
3883 #define G_009910_ARRAY_MODE(x) (((x) >> 2) & 0x0F) argument
3896 #define S_009910_PIPE_CONFIG(x) (((x) & 0x1F) << 6) argument
3897 #define G_009910_PIPE_CONFIG(x) (((x) >> 6) & 0x1F) argument
3914 #define S_009910_TILE_SPLIT(x) (((x) & 0x07) << 11) argument
3915 #define G_009910_TILE_SPLIT(x) (((x) >> 11) & 0x07) argument
3924 #define S_009910_BANK_WIDTH(x) (((x) & 0x03) << 14) argument
3925 #define G_009910_BANK_WIDTH(x) (((x) >> 14) & 0x03) argument
3931 #define S_009910_BANK_HEIGHT(x) (((x) & 0x03) << 16) argument
3932 #define G_009910_BANK_HEIGHT(x) (((x) >> 16) & 0x03) argument
3938 #define S_009910_MACRO_TILE_ASPECT(x) (((x) & 0x03) << 18) argument
3939 #define G_009910_MACRO_TILE_ASPECT(x) (((x) >> 18) & 0x03) argument
3945 #define S_009910_NUM_BANKS(x) (((x) & 0x03) << 20) argument
3946 #define G_009910_NUM_BANKS(x) (((x) >> 20) & 0x03) argument
3954 #define S_00B024_MEM_BASE(x) (((x) & 0xFF) << 0) argument
3955 #define G_00B024_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3958 #define S_00B028_VGPRS(x) (((x) & 0x3F) << 0) argument
3959 #define G_00B028_VGPRS(x) (((x) >> 0) & 0x3F) argument
3961 #define S_00B028_SGPRS(x) (((x) & 0x0F) << 6) argument
3962 #define G_00B028_SGPRS(x) (((x) >> 6) & 0x0F) argument
3964 #define S_00B028_PRIORITY(x) (((x) & 0x03) << 10) argument
3965 #define G_00B028_PRIORITY(x) (((x) >> 10) & 0x03) argument
3967 #define S_00B028_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
3968 #define G_00B028_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3970 #define S_00B028_PRIV(x) (((x) & 0x1) << 20) argument
3971 #define G_00B028_PRIV(x) (((x) >> 20) & 0x1) argument
3973 #define S_00B028_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
3974 #define G_00B028_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3976 #define S_00B028_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
3977 #define G_00B028_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3979 #define S_00B028_IEEE_MODE(x) (((x) & 0x1) << 23) argument
3980 #define G_00B028_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3982 #define S_00B028_CU_GROUP_DISABLE(x) (((x) & 0x1) << 24) argument
3983 #define G_00B028_CU_GROUP_DISABLE(x) (((x) >> 24) & 0x1) argument
3986 #define S_00B02C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
3987 #define G_00B02C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3989 #define S_00B02C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
3990 #define G_00B02C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3992 #define S_00B02C_WAVE_CNT_EN(x) (((x) & 0x1) << 7) argument
3993 #define G_00B02C_WAVE_CNT_EN(x) (((x) >> 7) & 0x1) argument
3995 #define S_00B02C_EXTRA_LDS_SIZE(x) (((x) & 0xFF) << 8) argument
3996 #define G_00B02C_EXTRA_LDS_SIZE(x) (((x) >> 8) & 0xFF) argument
3998 #define S_00B02C_EXCP_EN(x) (((x) & 0x7F) << 16) argument
3999 #define G_00B02C_EXCP_EN(x) (((x) >> 16) & 0x7F) argument
4019 #define S_00B124_MEM_BASE(x) (((x) & 0xFF) << 0) argument
4020 #define G_00B124_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
4023 #define S_00B128_VGPRS(x) (((x) & 0x3F) << 0) argument
4024 #define G_00B128_VGPRS(x) (((x) >> 0) & 0x3F) argument
4026 #define S_00B128_SGPRS(x) (((x) & 0x0F) << 6) argument
4027 #define G_00B128_SGPRS(x) (((x) >> 6) & 0x0F) argument
4029 #define S_00B128_PRIORITY(x) (((x) & 0x03) << 10) argument
4030 #define G_00B128_PRIORITY(x) (((x) >> 10) & 0x03) argument
4032 #define S_00B128_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4033 #define G_00B128_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4035 #define S_00B128_PRIV(x) (((x) & 0x1) << 20) argument
4036 #define G_00B128_PRIV(x) (((x) >> 20) & 0x1) argument
4038 #define S_00B128_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4039 #define G_00B128_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4041 #define S_00B128_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4042 #define G_00B128_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4044 #define S_00B128_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4045 #define G_00B128_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4047 #define S_00B128_VGPR_COMP_CNT(x) (((x) & 0x03) << 24) argument
4048 #define G_00B128_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
4050 #define S_00B128_CU_GROUP_ENABLE(x) (((x) & 0x1) << 26) argument
4051 #define G_00B128_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1) argument
4054 #define S_00B12C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4055 #define G_00B12C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4057 #define S_00B12C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4058 #define G_00B12C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4060 #define S_00B12C_OC_LDS_EN(x) (((x) & 0x1) << 7) argument
4061 #define G_00B12C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
4063 #define S_00B12C_SO_BASE0_EN(x) (((x) & 0x1) << 8) argument
4064 #define G_00B12C_SO_BASE0_EN(x) (((x) >> 8) & 0x1) argument
4066 #define S_00B12C_SO_BASE1_EN(x) (((x) & 0x1) << 9) argument
4067 #define G_00B12C_SO_BASE1_EN(x) (((x) >> 9) & 0x1) argument
4069 #define S_00B12C_SO_BASE2_EN(x) (((x) & 0x1) << 10) argument
4070 #define G_00B12C_SO_BASE2_EN(x) (((x) >> 10) & 0x1) argument
4072 #define S_00B12C_SO_BASE3_EN(x) (((x) & 0x1) << 11) argument
4073 #define G_00B12C_SO_BASE3_EN(x) (((x) >> 11) & 0x1) argument
4075 #define S_00B12C_SO_EN(x) (((x) & 0x1) << 12) argument
4076 #define G_00B12C_SO_EN(x) (((x) >> 12) & 0x1) argument
4078 #define S_00B12C_EXCP_EN(x) (((x) & 0x7F) << 13) argument
4079 #define G_00B12C_EXCP_EN(x) (((x) >> 13) & 0x7F) argument
4099 #define S_00B224_MEM_BASE(x) (((x) & 0xFF) << 0) argument
4100 #define G_00B224_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
4103 #define S_00B228_VGPRS(x) (((x) & 0x3F) << 0) argument
4104 #define G_00B228_VGPRS(x) (((x) >> 0) & 0x3F) argument
4106 #define S_00B228_SGPRS(x) (((x) & 0x0F) << 6) argument
4107 #define G_00B228_SGPRS(x) (((x) >> 6) & 0x0F) argument
4109 #define S_00B228_PRIORITY(x) (((x) & 0x03) << 10) argument
4110 #define G_00B228_PRIORITY(x) (((x) >> 10) & 0x03) argument
4112 #define S_00B228_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4113 #define G_00B228_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4115 #define S_00B228_PRIV(x) (((x) & 0x1) << 20) argument
4116 #define G_00B228_PRIV(x) (((x) >> 20) & 0x1) argument
4118 #define S_00B228_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4119 #define G_00B228_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4121 #define S_00B228_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4122 #define G_00B228_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4124 #define S_00B228_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4125 #define G_00B228_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4127 #define S_00B228_CU_GROUP_ENABLE(x) (((x) & 0x1) << 24) argument
4128 #define G_00B228_CU_GROUP_ENABLE(x) (((x) >> 24) & 0x1) argument
4131 #define S_00B22C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4132 #define G_00B22C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4134 #define S_00B22C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4135 #define G_00B22C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4137 #define S_00B22C_EXCP_EN(x) (((x) & 0x7F) << 7) argument
4138 #define G_00B22C_EXCP_EN(x) (((x) >> 7) & 0x7F) argument
4143 #define S_00B324_MEM_BASE(x) (((x) & 0xFF) << 0) argument
4144 #define G_00B324_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
4147 #define S_00B328_VGPRS(x) (((x) & 0x3F) << 0) argument
4148 #define G_00B328_VGPRS(x) (((x) >> 0) & 0x3F) argument
4150 #define S_00B328_SGPRS(x) (((x) & 0x0F) << 6) argument
4151 #define G_00B328_SGPRS(x) (((x) >> 6) & 0x0F) argument
4153 #define S_00B328_PRIORITY(x) (((x) & 0x03) << 10) argument
4154 #define G_00B328_PRIORITY(x) (((x) >> 10) & 0x03) argument
4156 #define S_00B328_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4157 #define G_00B328_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4159 #define S_00B328_PRIV(x) (((x) & 0x1) << 20) argument
4160 #define G_00B328_PRIV(x) (((x) >> 20) & 0x1) argument
4162 #define S_00B328_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4163 #define G_00B328_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4165 #define S_00B328_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4166 #define G_00B328_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4168 #define S_00B328_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4169 #define G_00B328_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4171 #define S_00B328_VGPR_COMP_CNT(x) (((x) & 0x03) << 24) argument
4172 #define G_00B328_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
4174 #define S_00B328_CU_GROUP_ENABLE(x) (((x) & 0x1) << 26) argument
4175 #define G_00B328_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1) argument
4178 #define S_00B32C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4179 #define G_00B32C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4181 #define S_00B32C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4182 #define G_00B32C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4184 #define S_00B32C_OC_LDS_EN(x) (((x) & 0x1) << 7) argument
4185 #define G_00B32C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
4187 #define S_00B32C_EXCP_EN(x) (((x) & 0x7F) << 8) argument
4188 #define G_00B32C_EXCP_EN(x) (((x) >> 8) & 0x7F) argument
4193 #define S_00B424_MEM_BASE(x) (((x) & 0xFF) << 0) argument
4194 #define G_00B424_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
4197 #define S_00B428_VGPRS(x) (((x) & 0x3F) << 0) argument
4198 #define G_00B428_VGPRS(x) (((x) >> 0) & 0x3F) argument
4200 #define S_00B428_SGPRS(x) (((x) & 0x0F) << 6) argument
4201 #define G_00B428_SGPRS(x) (((x) >> 6) & 0x0F) argument
4203 #define S_00B428_PRIORITY(x) (((x) & 0x03) << 10) argument
4204 #define G_00B428_PRIORITY(x) (((x) >> 10) & 0x03) argument
4206 #define S_00B428_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4207 #define G_00B428_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4209 #define S_00B428_PRIV(x) (((x) & 0x1) << 20) argument
4210 #define G_00B428_PRIV(x) (((x) >> 20) & 0x1) argument
4212 #define S_00B428_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4213 #define G_00B428_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4215 #define S_00B428_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4216 #define G_00B428_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4218 #define S_00B428_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4219 #define G_00B428_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4222 #define S_00B42C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4223 #define G_00B42C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4225 #define S_00B42C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4226 #define G_00B42C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4228 #define S_00B42C_OC_LDS_EN(x) (((x) & 0x1) << 7) argument
4229 #define G_00B42C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
4231 #define S_00B42C_TG_SIZE_EN(x) (((x) & 0x1) << 8) argument
4232 #define G_00B42C_TG_SIZE_EN(x) (((x) >> 8) & 0x1) argument
4234 #define S_00B42C_EXCP_EN(x) (((x) & 0x7F) << 9) argument
4235 #define G_00B42C_EXCP_EN(x) (((x) >> 9) & 0x7F) argument
4240 #define S_00B524_MEM_BASE(x) (((x) & 0xFF) << 0) argument
4241 #define G_00B524_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
4244 #define S_00B528_VGPRS(x) (((x) & 0x3F) << 0) argument
4245 #define G_00B528_VGPRS(x) (((x) >> 0) & 0x3F) argument
4247 #define S_00B528_SGPRS(x) (((x) & 0x0F) << 6) argument
4248 #define G_00B528_SGPRS(x) (((x) >> 6) & 0x0F) argument
4250 #define S_00B528_PRIORITY(x) (((x) & 0x03) << 10) argument
4251 #define G_00B528_PRIORITY(x) (((x) >> 10) & 0x03) argument
4253 #define S_00B528_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4254 #define G_00B528_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4256 #define S_00B528_PRIV(x) (((x) & 0x1) << 20) argument
4257 #define G_00B528_PRIV(x) (((x) >> 20) & 0x1) argument
4259 #define S_00B528_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4260 #define G_00B528_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4262 #define S_00B528_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4263 #define G_00B528_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4265 #define S_00B528_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4266 #define G_00B528_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4268 #define S_00B528_VGPR_COMP_CNT(x) (((x) & 0x03) << 24) argument
4269 #define G_00B528_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
4272 #define S_00B52C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4273 #define G_00B52C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4275 #define S_00B52C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4276 #define G_00B52C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4278 #define S_00B52C_LDS_SIZE(x) (((x) & 0x1FF) << 7) argument
4279 #define G_00B52C_LDS_SIZE(x) (((x) >> 7) & 0x1FF) argument
4281 #define S_00B52C_EXCP_EN(x) (((x) & 0x7F) << 16) argument
4282 #define G_00B52C_EXCP_EN(x) (((x) >> 16) & 0x7F) argument
4286 #define S_00B800_COMPUTE_SHADER_EN(x) (((x) & 0x1) << 0) argument
4287 #define G_00B800_COMPUTE_SHADER_EN(x) (((x) >> 0) & 0x1) argument
4289 #define S_00B800_PARTIAL_TG_EN(x) (((x) & 0x1) << 1) argument
4290 #define G_00B800_PARTIAL_TG_EN(x) (((x) >> 1) & 0x1) argument
4292 #define S_00B800_FORCE_START_AT_000(x) (((x) & 0x1) << 2) argument
4293 #define G_00B800_FORCE_START_AT_000(x) (((x) >> 2) & 0x1) argument
4295 #define S_00B800_ORDERED_APPEND_ENBL(x) (((x) & 0x1) << 3) argument
4296 #define G_00B800_ORDERED_APPEND_ENBL(x) (((x) >> 3) & 0x1) argument
4305 #define S_00B81C_NUM_THREAD_FULL(x) (((x) & 0xFFFF) << 0) argument
4306 #define G_00B81C_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
4308 #define S_00B81C_NUM_THREAD_PARTIAL(x) (((x) & 0xFFFF) << 16) argument
4309 #define G_00B81C_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
4312 #define S_00B820_NUM_THREAD_FULL(x) (((x) & 0xFFFF) << 0) argument
4313 #define G_00B820_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
4315 #define S_00B820_NUM_THREAD_PARTIAL(x) (((x) & 0xFFFF) << 16) argument
4316 #define G_00B820_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
4319 #define S_00B824_NUM_THREAD_FULL(x) (((x) & 0xFFFF) << 0) argument
4320 #define G_00B824_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
4322 #define S_00B824_NUM_THREAD_PARTIAL(x) (((x) & 0xFFFF) << 16) argument
4323 #define G_00B824_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
4326 #define S_00B82C_MAX_WAVE_ID(x) (((x) & 0xFFF) << 0) argument
4327 #define G_00B82C_MAX_WAVE_ID(x) (((x) >> 0) & 0xFFF) argument
4331 #define S_00B834_DATA(x) (((x) & 0xFF) << 0) argument
4332 #define G_00B834_DATA(x) (((x) >> 0) & 0xFF) argument
4335 #define S_00B848_VGPRS(x) (((x) & 0x3F) << 0) argument
4336 #define G_00B848_VGPRS(x) (((x) >> 0) & 0x3F) argument
4338 #define S_00B848_SGPRS(x) (((x) & 0x0F) << 6) argument
4339 #define G_00B848_SGPRS(x) (((x) >> 6) & 0x0F) argument
4341 #define S_00B848_PRIORITY(x) (((x) & 0x03) << 10) argument
4342 #define G_00B848_PRIORITY(x) (((x) >> 10) & 0x03) argument
4344 #define S_00B848_FLOAT_MODE(x) (((x) & 0xFF) << 12) argument
4345 #define G_00B848_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
4347 #define S_00B848_PRIV(x) (((x) & 0x1) << 20) argument
4348 #define G_00B848_PRIV(x) (((x) >> 20) & 0x1) argument
4350 #define S_00B848_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
4351 #define G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
4353 #define S_00B848_DEBUG_MODE(x) (((x) & 0x1) << 22) argument
4354 #define G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
4356 #define S_00B848_IEEE_MODE(x) (((x) & 0x1) << 23) argument
4357 #define G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
4360 #define S_00B84C_SCRATCH_EN(x) (((x) & 0x1) << 0) argument
4361 #define G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
4363 #define S_00B84C_USER_SGPR(x) (((x) & 0x1F) << 1) argument
4364 #define G_00B84C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
4366 #define S_00B84C_TGID_X_EN(x) (((x) & 0x1) << 7) argument
4367 #define G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1) argument
4369 #define S_00B84C_TGID_Y_EN(x) (((x) & 0x1) << 8) argument
4370 #define G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1) argument
4372 #define S_00B84C_TGID_Z_EN(x) (((x) & 0x1) << 9) argument
4373 #define G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1) argument
4375 #define S_00B84C_TG_SIZE_EN(x) (((x) & 0x1) << 10) argument
4376 #define G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1) argument
4378 #define S_00B84C_TIDIG_COMP_CNT(x) (((x) & 0x03) << 11) argument
4379 #define G_00B84C_TIDIG_COMP_CNT(x) (((x) >> 11) & 0x03) argument
4381 #define S_00B84C_LDS_SIZE(x) (((x) & 0x1FF) << 15) argument
4382 #define G_00B84C_LDS_SIZE(x) (((x) >> 15) & 0x1FF) argument
4384 #define S_00B84C_EXCP_EN(x) (((x) & 0x7F) << 24) argument
4385 #define G_00B84C_EXCP_EN(x) (((x) >> 24) & 0x7F) argument
4388 #define S_00B854_WAVES_PER_SH(x) (((x) & 0x3F) << 0) argument
4389 #define G_00B854_WAVES_PER_SH(x) (((x) >> 0) & 0x3F) argument
4391 #define S_00B854_TG_PER_CU(x) (((x) & 0x0F) << 12) argument
4392 #define G_00B854_TG_PER_CU(x) (((x) >> 12) & 0x0F) argument
4394 #define S_00B854_LOCK_THRESHOLD(x) (((x) & 0x3F) << 16) argument
4395 #define G_00B854_LOCK_THRESHOLD(x) (((x) >> 16) & 0x3F) argument
4397 #define S_00B854_SIMD_DEST_CNTL(x) (((x) & 0x1) << 22) argument
4398 #define G_00B854_SIMD_DEST_CNTL(x) (((x) >> 22) & 0x1) argument
4401 #define S_00B858_SH0_CU_EN(x) (((x) & 0xFFFF) << 0) argument
4402 #define G_00B858_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
4404 #define S_00B858_SH1_CU_EN(x) (((x) & 0xFFFF) << 16) argument
4405 #define G_00B858_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
4408 #define S_00B85C_SH0_CU_EN(x) (((x) & 0xFFFF) << 0) argument
4409 #define G_00B85C_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
4411 #define S_00B85C_SH1_CU_EN(x) (((x) & 0xFFFF) << 16) argument
4412 #define G_00B85C_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
4415 #define S_00B860_WAVES(x) (((x) & 0xFFF) << 0) argument
4416 #define G_00B860_WAVES(x) (((x) >> 0) & 0xFFF) argument
4418 #define S_00B860_WAVESIZE(x) (((x) & 0x1FFF) << 12) argument
4419 #define G_00B860_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
4423 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((x) & 0x1) << 0) argument
4424 #define G_028000_DEPTH_CLEAR_ENABLE(x) (((x) >> 0) & 0x1) argument
4426 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((x) & 0x1) << 1) argument
4427 #define G_028000_STENCIL_CLEAR_ENABLE(x) (((x) >> 1) & 0x1) argument
4429 #define S_028000_DEPTH_COPY(x) (((x) & 0x1) << 2) argument
4430 #define G_028000_DEPTH_COPY(x) (((x) >> 2) & 0x1) argument
4432 #define S_028000_STENCIL_COPY(x) (((x) & 0x1) << 3) argument
4433 #define G_028000_STENCIL_COPY(x) (((x) >> 3) & 0x1) argument
4435 #define S_028000_RESUMMARIZE_ENABLE(x) (((x) & 0x1) << 4) argument
4436 #define G_028000_RESUMMARIZE_ENABLE(x) (((x) >> 4) & 0x1) argument
4438 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5) argument
4439 #define G_028000_STENCIL_COMPRESS_DISABLE(x) (((x) >> 5) & 0x1) argument
4441 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6) argument
4442 #define G_028000_DEPTH_COMPRESS_DISABLE(x) (((x) >> 6) & 0x1) argument
4444 #define S_028000_COPY_CENTROID(x) (((x) & 0x1) << 7) argument
4445 #define G_028000_COPY_CENTROID(x) (((x) >> 7) & 0x1) argument
4447 #define S_028000_COPY_SAMPLE(x) (((x) & 0x0F) << 8) argument
4448 #define G_028000_COPY_SAMPLE(x) (((x) >> 8) & 0x0F) argument
4451 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((x) & 0x1) << 0) argument
4452 #define G_028004_ZPASS_INCREMENT_DISABLE(x) (((x) >> 0) & 0x1) argument
4454 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 1) argument
4455 #define G_028004_PERFECT_ZPASS_COUNTS(x) (((x) >> 1) & 0x1) argument
4457 #define S_028004_SAMPLE_RATE(x) (((x) & 0x07) << 4) argument
4458 #define G_028004_SAMPLE_RATE(x) (((x) >> 4) & 0x07) argument
4461 #define S_028008_SLICE_START(x) (((x) & 0x7FF) << 0) argument
4462 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
4464 #define S_028008_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
4465 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
4467 #define S_028008_Z_READ_ONLY(x) (((x) & 0x1) << 24) argument
4468 #define G_028008_Z_READ_ONLY(x) (((x) >> 24) & 0x1) argument
4470 #define S_028008_STENCIL_READ_ONLY(x) (((x) & 0x1) << 25) argument
4471 #define G_028008_STENCIL_READ_ONLY(x) (((x) >> 25) & 0x1) argument
4474 #define S_02800C_FORCE_HIZ_ENABLE(x) (((x) & 0x03) << 0) argument
4475 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x03) argument
4481 #define S_02800C_FORCE_HIS_ENABLE0(x) (((x) & 0x03) << 2) argument
4482 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x03) argument
4488 #define S_02800C_FORCE_HIS_ENABLE1(x) (((x) & 0x03) << 4) argument
4489 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x03) argument
4495 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6) argument
4496 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
4498 #define S_02800C_FAST_Z_DISABLE(x) (((x) & 0x1) << 7) argument
4499 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
4501 #define S_02800C_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8) argument
4502 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
4504 #define S_02800C_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9) argument
4505 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
4507 #define S_02800C_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10) argument
4508 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
4510 #define S_02800C_FORCE_Z_READ(x) (((x) & 0x1) << 11) argument
4511 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
4513 #define S_02800C_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12) argument
4514 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
4516 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((x) & 0x03) << 13) argument
4517 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x03) argument
4523 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15) argument
4524 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
4526 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16) argument
4527 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
4529 #define S_02800C_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17) argument
4530 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
4532 #define S_02800C_DISABLE_FULLY_COVERED(x) (((x) & 0x1) << 18) argument
4533 #define G_02800C_DISABLE_FULLY_COVERED(x) (((x) >> 18) & 0x1) argument
4535 #define S_02800C_FORCE_Z_LIMIT_SUMM(x) (((x) & 0x03) << 19) argument
4536 #define G_02800C_FORCE_Z_LIMIT_SUMM(x) (((x) >> 19) & 0x03) argument
4542 #define S_02800C_MAX_TILES_IN_DTT(x) (((x) & 0x1F) << 21) argument
4543 #define G_02800C_MAX_TILES_IN_DTT(x) (((x) >> 21) & 0x1F) argument
4545 #define S_02800C_DISABLE_TILE_RATE_TILES(x) (((x) & 0x1) << 26) argument
4546 #define G_02800C_DISABLE_TILE_RATE_TILES(x) (((x) >> 26) & 0x1) argument
4548 #define S_02800C_FORCE_Z_DIRTY(x) (((x) & 0x1) << 27) argument
4549 #define G_02800C_FORCE_Z_DIRTY(x) (((x) >> 27) & 0x1) argument
4551 #define S_02800C_FORCE_STENCIL_DIRTY(x) (((x) & 0x1) << 28) argument
4552 #define G_02800C_FORCE_STENCIL_DIRTY(x) (((x) >> 28) & 0x1) argument
4554 #define S_02800C_FORCE_Z_VALID(x) (((x) & 0x1) << 29) argument
4555 #define G_02800C_FORCE_Z_VALID(x) (((x) >> 29) & 0x1) argument
4557 #define S_02800C_FORCE_STENCIL_VALID(x) (((x) & 0x1) << 30) argument
4558 #define G_02800C_FORCE_STENCIL_VALID(x) (((x) >> 30) & 0x1) argument
4560 #define S_02800C_PRESERVE_COMPRESSION(x) (((x) & 0x1) << 31) argument
4561 #define G_02800C_PRESERVE_COMPRESSION(x) (((x) >> 31) & 0x1) argument
4564 #define S_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((x) & 0x03) << 0) argument
4565 #define G_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((x) >> 0) & 0x03) argument
4571 #define S_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((x) & 0x07) << 2) argument
4572 #define G_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((x) >> 2) & 0x07) argument
4574 #define S_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATIO(x) (((x) & 0x1) << 5) argument
4575 #define G_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATIO(x) (((x) >> 5) & 0x1) argument
4577 #define S_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) & 0x1) << 6) argument
4578 #define G_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) >> 6) & 0x1) argument
4580 #define S_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) & 0x1) << 7) argument
4581 #define G_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) >> 7) & 0x1) argument
4583 #define S_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) & 0x1) << 8) argument
4584 #define G_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) >> 8) & 0x1) argument
4586 #define S_028010_DISABLE_REG_SNOOP(x) (((x) & 0x1) << 9) argument
4587 #define G_028010_DISABLE_REG_SNOOP(x) (((x) >> 9) & 0x1) argument
4589 #define S_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) & 0x1) << 10) argument
4590 #define G_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) >> 10) & 0x1) argument
4596 #define S_028028_CLEAR(x) (((x) & 0xFF) << 0) argument
4597 #define G_028028_CLEAR(x) (((x) >> 0) & 0xFF) argument
4601 #define S_028030_TL_X(x) (((x) & 0xFFFF) << 0) argument
4602 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
4604 #define S_028030_TL_Y(x) (((x) & 0xFFFF) << 16) argument
4605 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
4608 #define S_028034_BR_X(x) (((x) & 0xFFFF) << 0) argument
4609 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
4611 #define S_028034_BR_Y(x) (((x) & 0xFFFF) << 16) argument
4612 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
4615 #define S_02803C_ADDR5_SWIZZLE_MASK(x) (((x) & 0x0F) << 0) argument
4616 #define G_02803C_ADDR5_SWIZZLE_MASK(x) (((x) >> 0) & 0x0F) argument
4619 #define S_028040_FORMAT(x) (((x) & 0x03) << 0) argument
4620 #define G_028040_FORMAT(x) (((x) >> 0) & 0x03) argument
4626 #define S_028040_NUM_SAMPLES(x) (((x) & 0x03) << 2) argument
4627 #define G_028040_NUM_SAMPLES(x) (((x) >> 2) & 0x03) argument
4629 #define S_028040_TILE_MODE_INDEX(x) (((x) & 0x07) << 20) argument
4630 #define G_028040_TILE_MODE_INDEX(x) (((x) >> 20) & 0x07) argument
4632 #define S_028040_ALLOW_EXPCLEAR(x) (((x) & 0x1) << 27) argument
4633 #define G_028040_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
4635 #define S_028040_READ_SIZE(x) (((x) & 0x1) << 28) argument
4636 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1) argument
4638 #define S_028040_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 29) argument
4639 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
4641 #define S_028040_ZRANGE_PRECISION(x) (((x) & 0x1) << 31) argument
4642 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
4645 #define S_028044_FORMAT(x) (((x) & 0x1) << 0) argument
4646 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) argument
4648 #define S_028044_TILE_MODE_INDEX(x) (((x) & 0x07) << 20) argument
4649 #define G_028044_TILE_MODE_INDEX(x) (((x) >> 20) & 0x07) argument
4651 #define S_028044_ALLOW_EXPCLEAR(x) (((x) & 0x1) << 27) argument
4652 #define G_028044_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
4654 #define S_028044_TILE_STENCIL_DISABLE(x) (((x) & 0x1) << 29) argument
4655 #define G_028044_TILE_STENCIL_DISABLE(x) (((x) >> 29) & 0x1) argument
4662 #define S_028058_PITCH_TILE_MAX(x) (((x) & 0x7FF) << 0) argument
4663 #define G_028058_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
4665 #define S_028058_HEIGHT_TILE_MAX(x) (((x) & 0x7FF) << 11) argument
4666 #define G_028058_HEIGHT_TILE_MAX(x) (((x) >> 11) & 0x7FF) argument
4669 #define S_02805C_SLICE_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
4670 #define G_02805C_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
4674 #define S_028200_WINDOW_X_OFFSET(x) (((x) & 0xFFFF) << 0) argument
4675 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
4677 #define S_028200_WINDOW_Y_OFFSET(x) (((x) & 0xFFFF) << 16) argument
4678 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0xFFFF) argument
4681 #define S_028204_TL_X(x) (((x) & 0x7FFF) << 0) argument
4682 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4684 #define S_028204_TL_Y(x) (((x) & 0x7FFF) << 16) argument
4685 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4687 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
4688 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4691 #define S_028208_BR_X(x) (((x) & 0x7FFF) << 0) argument
4692 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4694 #define S_028208_BR_Y(x) (((x) & 0x7FFF) << 16) argument
4695 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4698 #define S_02820C_CLIP_RULE(x) (((x) & 0xFFFF) << 0) argument
4699 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
4702 #define S_028210_TL_X(x) (((x) & 0x7FFF) << 0) argument
4703 #define G_028210_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4705 #define S_028210_TL_Y(x) (((x) & 0x7FFF) << 16) argument
4706 #define G_028210_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4709 #define S_028214_BR_X(x) (((x) & 0x7FFF) << 0) argument
4710 #define G_028214_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4712 #define S_028214_BR_Y(x) (((x) & 0x7FFF) << 16) argument
4713 #define G_028214_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4722 #define S_028230_ER_TRI(x) (((x) & 0x0F) << 0) argument
4723 #define G_028230_ER_TRI(x) (((x) >> 0) & 0x0F) argument
4725 #define S_028230_ER_POINT(x) (((x) & 0x0F) << 4) argument
4726 #define G_028230_ER_POINT(x) (((x) >> 4) & 0x0F) argument
4728 #define S_028230_ER_RECT(x) (((x) & 0x0F) << 8) argument
4729 #define G_028230_ER_RECT(x) (((x) >> 8) & 0x0F) argument
4731 #define S_028230_ER_LINE_LR(x) (((x) & 0x3F) << 12) argument
4732 #define G_028230_ER_LINE_LR(x) (((x) >> 12) & 0x3F) argument
4734 #define S_028230_ER_LINE_RL(x) (((x) & 0x3F) << 18) argument
4735 #define G_028230_ER_LINE_RL(x) (((x) >> 18) & 0x3F) argument
4737 #define S_028230_ER_LINE_TB(x) (((x) & 0x0F) << 24) argument
4738 #define G_028230_ER_LINE_TB(x) (((x) >> 24) & 0x0F) argument
4740 #define S_028230_ER_LINE_BT(x) (((x) & 0x0F) << 28) argument
4741 #define G_028230_ER_LINE_BT(x) (((x) >> 28) & 0x0F) argument
4744 #define S_028234_HW_SCREEN_OFFSET_X(x) (((x) & 0x1FF) << 0) argument
4745 #define G_028234_HW_SCREEN_OFFSET_X(x) (((x) >> 0) & 0x1FF) argument
4747 #define S_028234_HW_SCREEN_OFFSET_Y(x) (((x) & 0x1FF) << 16) argument
4748 #define G_028234_HW_SCREEN_OFFSET_Y(x) (((x) >> 16) & 0x1FF) argument
4751 #define S_028238_TARGET0_ENABLE(x) (((x) & 0x0F) << 0) argument
4752 #define G_028238_TARGET0_ENABLE(x) (((x) >> 0) & 0x0F) argument
4754 #define S_028238_TARGET1_ENABLE(x) (((x) & 0x0F) << 4) argument
4755 #define G_028238_TARGET1_ENABLE(x) (((x) >> 4) & 0x0F) argument
4757 #define S_028238_TARGET2_ENABLE(x) (((x) & 0x0F) << 8) argument
4758 #define G_028238_TARGET2_ENABLE(x) (((x) >> 8) & 0x0F) argument
4760 #define S_028238_TARGET3_ENABLE(x) (((x) & 0x0F) << 12) argument
4761 #define G_028238_TARGET3_ENABLE(x) (((x) >> 12) & 0x0F) argument
4763 #define S_028238_TARGET4_ENABLE(x) (((x) & 0x0F) << 16) argument
4764 #define G_028238_TARGET4_ENABLE(x) (((x) >> 16) & 0x0F) argument
4766 #define S_028238_TARGET5_ENABLE(x) (((x) & 0x0F) << 20) argument
4767 #define G_028238_TARGET5_ENABLE(x) (((x) >> 20) & 0x0F) argument
4769 #define S_028238_TARGET6_ENABLE(x) (((x) & 0x0F) << 24) argument
4770 #define G_028238_TARGET6_ENABLE(x) (((x) >> 24) & 0x0F) argument
4772 #define S_028238_TARGET7_ENABLE(x) (((x) & 0x0F) << 28) argument
4773 #define G_028238_TARGET7_ENABLE(x) (((x) >> 28) & 0x0F) argument
4776 #define S_02823C_OUTPUT0_ENABLE(x) (((x) & 0x0F) << 0) argument
4777 #define G_02823C_OUTPUT0_ENABLE(x) (((x) >> 0) & 0x0F) argument
4779 #define S_02823C_OUTPUT1_ENABLE(x) (((x) & 0x0F) << 4) argument
4780 #define G_02823C_OUTPUT1_ENABLE(x) (((x) >> 4) & 0x0F) argument
4782 #define S_02823C_OUTPUT2_ENABLE(x) (((x) & 0x0F) << 8) argument
4783 #define G_02823C_OUTPUT2_ENABLE(x) (((x) >> 8) & 0x0F) argument
4785 #define S_02823C_OUTPUT3_ENABLE(x) (((x) & 0x0F) << 12) argument
4786 #define G_02823C_OUTPUT3_ENABLE(x) (((x) >> 12) & 0x0F) argument
4788 #define S_02823C_OUTPUT4_ENABLE(x) (((x) & 0x0F) << 16) argument
4789 #define G_02823C_OUTPUT4_ENABLE(x) (((x) >> 16) & 0x0F) argument
4791 #define S_02823C_OUTPUT5_ENABLE(x) (((x) & 0x0F) << 20) argument
4792 #define G_02823C_OUTPUT5_ENABLE(x) (((x) >> 20) & 0x0F) argument
4794 #define S_02823C_OUTPUT6_ENABLE(x) (((x) & 0x0F) << 24) argument
4795 #define G_02823C_OUTPUT6_ENABLE(x) (((x) >> 24) & 0x0F) argument
4797 #define S_02823C_OUTPUT7_ENABLE(x) (((x) & 0x0F) << 28) argument
4798 #define G_02823C_OUTPUT7_ENABLE(x) (((x) >> 28) & 0x0F) argument
4801 #define S_028240_TL_X(x) (((x) & 0x7FFF) << 0) argument
4802 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4804 #define S_028240_TL_Y(x) (((x) & 0x7FFF) << 16) argument
4805 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4807 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
4808 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4811 #define S_028244_BR_X(x) (((x) & 0x7FFF) << 0) argument
4812 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4814 #define S_028244_BR_Y(x) (((x) & 0x7FFF) << 16) argument
4815 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4818 #define S_028250_TL_X(x) (((x) & 0x7FFF) << 0) argument
4819 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4821 #define S_028250_TL_Y(x) (((x) & 0x7FFF) << 16) argument
4822 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4824 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
4825 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4828 #define S_028254_BR_X(x) (((x) & 0x7FFF) << 0) argument
4829 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4831 #define S_028254_BR_Y(x) (((x) & 0x7FFF) << 16) argument
4832 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4837 #define S_028350_RB_MAP_PKR0(x) (((x) & 0x03) << 0) argument
4838 #define G_028350_RB_MAP_PKR0(x) (((x) >> 0) & 0x03) argument
4844 #define S_028350_RB_MAP_PKR1(x) (((x) & 0x03) << 2) argument
4845 #define G_028350_RB_MAP_PKR1(x) (((x) >> 2) & 0x03) argument
4851 #define S_028350_RB_XSEL2(x) (((x) & 0x03) << 4) argument
4852 #define G_028350_RB_XSEL2(x) (((x) >> 4) & 0x03) argument
4858 #define S_028350_RB_XSEL(x) (((x) & 0x1) << 6) argument
4859 #define G_028350_RB_XSEL(x) (((x) >> 6) & 0x1) argument
4861 #define S_028350_RB_YSEL(x) (((x) & 0x1) << 7) argument
4862 #define G_028350_RB_YSEL(x) (((x) >> 7) & 0x1) argument
4864 #define S_028350_PKR_MAP(x) (((x) & 0x03) << 8) argument
4865 #define G_028350_PKR_MAP(x) (((x) >> 8) & 0x03) argument
4871 #define S_028350_PKR_XSEL(x) (((x) & 0x03) << 10) argument
4872 #define G_028350_PKR_XSEL(x) (((x) >> 10) & 0x03) argument
4878 #define S_028350_PKR_YSEL(x) (((x) & 0x03) << 12) argument
4879 #define G_028350_PKR_YSEL(x) (((x) >> 12) & 0x03) argument
4885 #define S_028350_SC_MAP(x) (((x) & 0x03) << 16) argument
4886 #define G_028350_SC_MAP(x) (((x) >> 16) & 0x03) argument
4892 #define S_028350_SC_XSEL(x) (((x) & 0x03) << 18) argument
4893 #define G_028350_SC_XSEL(x) (((x) >> 18) & 0x03) argument
4899 #define S_028350_SC_YSEL(x) (((x) & 0x03) << 20) argument
4900 #define G_028350_SC_YSEL(x) (((x) >> 20) & 0x03) argument
4906 #define S_028350_SE_MAP(x) (((x) & 0x03) << 24) argument
4907 #define G_028350_SE_MAP(x) (((x) >> 24) & 0x03) argument
4913 #define S_028350_SE_XSEL(x) (((x) & 0x03) << 26) argument
4914 #define G_028350_SE_XSEL(x) (((x) >> 26) & 0x03) argument
4920 #define S_028350_SE_YSEL(x) (((x) & 0x03) << 28) argument
4921 #define G_028350_SE_YSEL(x) (((x) >> 28) & 0x03) argument
4936 #define S_02842C_STENCILFAIL(x) (((x) & 0x0F) << 0) argument
4937 #define G_02842C_STENCILFAIL(x) (((x) >> 0) & 0x0F) argument
4955 #define S_02842C_STENCILZPASS(x) (((x) & 0x0F) << 4) argument
4956 #define G_02842C_STENCILZPASS(x) (((x) >> 4) & 0x0F) argument
4974 #define S_02842C_STENCILZFAIL(x) (((x) & 0x0F) << 8) argument
4975 #define G_02842C_STENCILZFAIL(x) (((x) >> 8) & 0x0F) argument
4993 #define S_02842C_STENCILFAIL_BF(x) (((x) & 0x0F) << 12) argument
4994 #define G_02842C_STENCILFAIL_BF(x) (((x) >> 12) & 0x0F) argument
5012 #define S_02842C_STENCILZPASS_BF(x) (((x) & 0x0F) << 16) argument
5013 #define G_02842C_STENCILZPASS_BF(x) (((x) >> 16) & 0x0F) argument
5031 #define S_02842C_STENCILZFAIL_BF(x) (((x) & 0x0F) << 20) argument
5032 #define G_02842C_STENCILZFAIL_BF(x) (((x) >> 20) & 0x0F) argument
5051 #define S_028430_STENCILTESTVAL(x) (((x) & 0xFF) << 0) argument
5052 #define G_028430_STENCILTESTVAL(x) (((x) >> 0) & 0xFF) argument
5054 #define S_028430_STENCILMASK(x) (((x) & 0xFF) << 8) argument
5055 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
5057 #define S_028430_STENCILWRITEMASK(x) (((x) & 0xFF) << 16) argument
5058 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
5060 #define S_028430_STENCILOPVAL(x) (((x) & 0xFF) << 24) argument
5061 #define G_028430_STENCILOPVAL(x) (((x) >> 24) & 0xFF) argument
5064 #define S_028434_STENCILTESTVAL_BF(x) (((x) & 0xFF) << 0) argument
5065 #define G_028434_STENCILTESTVAL_BF(x) (((x) >> 0) & 0xFF) argument
5067 #define S_028434_STENCILMASK_BF(x) (((x) & 0xFF) << 8) argument
5068 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
5070 #define S_028434_STENCILWRITEMASK_BF(x) (((x) & 0xFF) << 16) argument
5071 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
5073 #define S_028434_STENCILOPVAL_BF(x) (((x) & 0xFF) << 24) argument
5074 #define G_028434_STENCILOPVAL_BF(x) (((x) >> 24) & 0xFF) argument
5107 #define S_028644_OFFSET(x) (((x) & 0x3F) << 0) argument
5108 #define G_028644_OFFSET(x) (((x) >> 0) & 0x3F) argument
5110 #define S_028644_DEFAULT_VAL(x) (((x) & 0x03) << 8) argument
5111 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x03) argument
5114 #define S_028644_FLAT_SHADE(x) (((x) & 0x1) << 10) argument
5115 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
5117 #define S_028644_CYL_WRAP(x) (((x) & 0x0F) << 13) argument
5118 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0x0F) argument
5120 #define S_028644_PT_SPRITE_TEX(x) (((x) & 0x1) << 17) argument
5121 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
5155 #define S_0286C4_VS_EXPORT_COUNT(x) (((x) & 0x1F) << 1) argument
5156 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
5158 #define S_0286C4_VS_HALF_PACK(x) (((x) & 0x1) << 6) argument
5159 #define G_0286C4_VS_HALF_PACK(x) (((x) >> 6) & 0x1) argument
5161 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 7) argument
5162 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 7) & 0x1) argument
5164 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) & 0x1F) << 8) argument
5165 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 8) & 0x1F) argument
5168 #define S_0286CC_PERSP_SAMPLE_ENA(x) (((x) & 0x1) << 0) argument
5169 #define G_0286CC_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
5171 #define S_0286CC_PERSP_CENTER_ENA(x) (((x) & 0x1) << 1) argument
5172 #define G_0286CC_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
5174 #define S_0286CC_PERSP_CENTROID_ENA(x) (((x) & 0x1) << 2) argument
5175 #define G_0286CC_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
5177 #define S_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) & 0x1) << 3) argument
5178 #define G_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
5180 #define S_0286CC_LINEAR_SAMPLE_ENA(x) (((x) & 0x1) << 4) argument
5181 #define G_0286CC_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
5183 #define S_0286CC_LINEAR_CENTER_ENA(x) (((x) & 0x1) << 5) argument
5184 #define G_0286CC_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
5186 #define S_0286CC_LINEAR_CENTROID_ENA(x) (((x) & 0x1) << 6) argument
5187 #define G_0286CC_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
5189 #define S_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) & 0x1) << 7) argument
5190 #define G_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
5192 #define S_0286CC_POS_X_FLOAT_ENA(x) (((x) & 0x1) << 8) argument
5193 #define G_0286CC_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
5195 #define S_0286CC_POS_Y_FLOAT_ENA(x) (((x) & 0x1) << 9) argument
5196 #define G_0286CC_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
5198 #define S_0286CC_POS_Z_FLOAT_ENA(x) (((x) & 0x1) << 10) argument
5199 #define G_0286CC_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
5201 #define S_0286CC_POS_W_FLOAT_ENA(x) (((x) & 0x1) << 11) argument
5202 #define G_0286CC_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
5204 #define S_0286CC_FRONT_FACE_ENA(x) (((x) & 0x1) << 12) argument
5205 #define G_0286CC_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
5207 #define S_0286CC_ANCILLARY_ENA(x) (((x) & 0x1) << 13) argument
5208 #define G_0286CC_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
5210 #define S_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) & 0x1) << 14) argument
5211 #define G_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
5213 #define S_0286CC_POS_FIXED_PT_ENA(x) (((x) & 0x1) << 15) argument
5214 #define G_0286CC_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
5217 #define S_0286D0_PERSP_SAMPLE_ENA(x) (((x) & 0x1) << 0) argument
5218 #define G_0286D0_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
5220 #define S_0286D0_PERSP_CENTER_ENA(x) (((x) & 0x1) << 1) argument
5221 #define G_0286D0_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
5223 #define S_0286D0_PERSP_CENTROID_ENA(x) (((x) & 0x1) << 2) argument
5224 #define G_0286D0_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
5226 #define S_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) & 0x1) << 3) argument
5227 #define G_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
5229 #define S_0286D0_LINEAR_SAMPLE_ENA(x) (((x) & 0x1) << 4) argument
5230 #define G_0286D0_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
5232 #define S_0286D0_LINEAR_CENTER_ENA(x) (((x) & 0x1) << 5) argument
5233 #define G_0286D0_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
5235 #define S_0286D0_LINEAR_CENTROID_ENA(x) (((x) & 0x1) << 6) argument
5236 #define G_0286D0_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
5238 #define S_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) & 0x1) << 7) argument
5239 #define G_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
5241 #define S_0286D0_POS_X_FLOAT_ENA(x) (((x) & 0x1) << 8) argument
5242 #define G_0286D0_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
5244 #define S_0286D0_POS_Y_FLOAT_ENA(x) (((x) & 0x1) << 9) argument
5245 #define G_0286D0_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
5247 #define S_0286D0_POS_Z_FLOAT_ENA(x) (((x) & 0x1) << 10) argument
5248 #define G_0286D0_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
5250 #define S_0286D0_POS_W_FLOAT_ENA(x) (((x) & 0x1) << 11) argument
5251 #define G_0286D0_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
5253 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 12) argument
5254 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
5256 #define S_0286D0_ANCILLARY_ENA(x) (((x) & 0x1) << 13) argument
5257 #define G_0286D0_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
5259 #define S_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) & 0x1) << 14) argument
5260 #define G_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
5262 #define S_0286D0_POS_FIXED_PT_ENA(x) (((x) & 0x1) << 15) argument
5263 #define G_0286D0_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
5266 #define S_0286D4_FLAT_SHADE_ENA(x) (((x) & 0x1) << 0) argument
5267 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
5269 #define S_0286D4_PNT_SPRITE_ENA(x) (((x) & 0x1) << 1) argument
5270 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
5272 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((x) & 0x07) << 2) argument
5273 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x07) argument
5280 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) & 0x07) << 5) argument
5281 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x07) argument
5288 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) & 0x07) << 8) argument
5289 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x07) argument
5296 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((x) & 0x07) << 11) argument
5297 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x07) argument
5304 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((x) & 0x1) << 14) argument
5305 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
5308 #define S_0286D8_NUM_INTERP(x) (((x) & 0x3F) << 0) argument
5309 #define G_0286D8_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
5311 #define S_0286D8_PARAM_GEN(x) (((x) & 0x1) << 6) argument
5312 #define G_0286D8_PARAM_GEN(x) (((x) >> 6) & 0x1) argument
5314 #define S_0286D8_FOG_ADDR(x) (((x) & 0x7F) << 7) argument
5315 #define G_0286D8_FOG_ADDR(x) (((x) >> 7) & 0x7F) argument
5317 #define S_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) & 0x1) << 14) argument
5318 #define G_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) >> 14) & 0x1) argument
5320 #define S_0286D8_PASS_FOG_THROUGH_PS(x) (((x) & 0x1) << 15) argument
5321 #define G_0286D8_PASS_FOG_THROUGH_PS(x) (((x) >> 15) & 0x1) argument
5324 #define S_0286E0_PERSP_CENTER_CNTL(x) (((x) & 0x1) << 0) argument
5325 #define G_0286E0_PERSP_CENTER_CNTL(x) (((x) >> 0) & 0x1) argument
5327 #define S_0286E0_PERSP_CENTROID_CNTL(x) (((x) & 0x1) << 4) argument
5328 #define G_0286E0_PERSP_CENTROID_CNTL(x) (((x) >> 4) & 0x1) argument
5330 #define S_0286E0_LINEAR_CENTER_CNTL(x) (((x) & 0x1) << 8) argument
5331 #define G_0286E0_LINEAR_CENTER_CNTL(x) (((x) >> 8) & 0x1) argument
5333 #define S_0286E0_LINEAR_CENTROID_CNTL(x) (((x) & 0x1) << 12) argument
5334 #define G_0286E0_LINEAR_CENTROID_CNTL(x) (((x) >> 12) & 0x1) argument
5336 #define S_0286E0_POS_FLOAT_LOCATION(x) (((x) & 0x03) << 16) argument
5337 #define G_0286E0_POS_FLOAT_LOCATION(x) (((x) >> 16) & 0x03) argument
5340 #define S_0286E0_POS_FLOAT_ULC(x) (((x) & 0x1) << 20) argument
5341 #define G_0286E0_POS_FLOAT_ULC(x) (((x) >> 20) & 0x1) argument
5343 #define S_0286E0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 24) argument
5344 #define G_0286E0_FRONT_FACE_ALL_BITS(x) (((x) >> 24) & 0x1) argument
5347 #define S_0286E8_WAVES(x) (((x) & 0xFFF) << 0) argument
5348 #define G_0286E8_WAVES(x) (((x) >> 0) & 0xFFF) argument
5350 #define S_0286E8_WAVESIZE(x) (((x) & 0x1FFF) << 12) argument
5351 #define G_0286E8_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
5354 #define S_028704_NUM_PS_WAVES(x) (((x) & 0x3F) << 0) argument
5355 #define G_028704_NUM_PS_WAVES(x) (((x) >> 0) & 0x3F) argument
5357 #define S_028704_NUM_VS_WAVES(x) (((x) & 0x3F) << 6) argument
5358 #define G_028704_NUM_VS_WAVES(x) (((x) >> 6) & 0x3F) argument
5360 #define S_028704_NUM_GS_WAVES(x) (((x) & 0x3F) << 12) argument
5361 #define G_028704_NUM_GS_WAVES(x) (((x) >> 12) & 0x3F) argument
5363 #define S_028704_NUM_ES_WAVES(x) (((x) & 0x3F) << 18) argument
5364 #define G_028704_NUM_ES_WAVES(x) (((x) >> 18) & 0x3F) argument
5366 #define S_028704_NUM_HS_WAVES(x) (((x) & 0x3F) << 24) argument
5367 #define G_028704_NUM_HS_WAVES(x) (((x) >> 24) & 0x3F) argument
5370 #define S_028708_NUM_LS_WAVES(x) (((x) & 0x3F) << 0) argument
5371 #define G_028708_NUM_LS_WAVES(x) (((x) >> 0) & 0x3F) argument
5374 #define S_02870C_POS0_EXPORT_FORMAT(x) (((x) & 0x0F) << 0) argument
5375 #define G_02870C_POS0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
5382 #define S_02870C_POS1_EXPORT_FORMAT(x) (((x) & 0x0F) << 4) argument
5383 #define G_02870C_POS1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
5390 #define S_02870C_POS2_EXPORT_FORMAT(x) (((x) & 0x0F) << 8) argument
5391 #define G_02870C_POS2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
5398 #define S_02870C_POS3_EXPORT_FORMAT(x) (((x) & 0x0F) << 12) argument
5399 #define G_02870C_POS3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
5407 #define S_028710_Z_EXPORT_FORMAT(x) (((x) & 0x0F) << 0) argument
5408 #define G_028710_Z_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
5421 #define S_028714_COL0_EXPORT_FORMAT(x) (((x) & 0x0F) << 0) argument
5422 #define G_028714_COL0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
5434 #define S_028714_COL1_EXPORT_FORMAT(x) (((x) & 0x0F) << 4) argument
5435 #define G_028714_COL1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
5447 #define S_028714_COL2_EXPORT_FORMAT(x) (((x) & 0x0F) << 8) argument
5448 #define G_028714_COL2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
5460 #define S_028714_COL3_EXPORT_FORMAT(x) (((x) & 0x0F) << 12) argument
5461 #define G_028714_COL3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
5473 #define S_028714_COL4_EXPORT_FORMAT(x) (((x) & 0x0F) << 16) argument
5474 #define G_028714_COL4_EXPORT_FORMAT(x) (((x) >> 16) & 0x0F) argument
5486 #define S_028714_COL5_EXPORT_FORMAT(x) (((x) & 0x0F) << 20) argument
5487 #define G_028714_COL5_EXPORT_FORMAT(x) (((x) >> 20) & 0x0F) argument
5499 #define S_028714_COL6_EXPORT_FORMAT(x) (((x) & 0x0F) << 24) argument
5500 #define G_028714_COL6_EXPORT_FORMAT(x) (((x) >> 24) & 0x0F) argument
5512 #define S_028714_COL7_EXPORT_FORMAT(x) (((x) & 0x0F) << 28) argument
5513 #define G_028714_COL7_EXPORT_FORMAT(x) (((x) >> 28) & 0x0F) argument
5526 #define S_028780_COLOR_SRCBLEND(x) (((x) & 0x1F) << 0) argument
5527 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
5548 #define S_028780_COLOR_COMB_FCN(x) (((x) & 0x07) << 5) argument
5549 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x07) argument
5556 #define S_028780_COLOR_DESTBLEND(x) (((x) & 0x1F) << 8) argument
5557 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
5578 #define S_028780_ALPHA_SRCBLEND(x) (((x) & 0x1F) << 16) argument
5579 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
5600 #define S_028780_ALPHA_COMB_FCN(x) (((x) & 0x07) << 21) argument
5601 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x07) argument
5608 #define S_028780_ALPHA_DESTBLEND(x) (((x) & 0x1F) << 24) argument
5609 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
5630 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((x) & 0x1) << 29) argument
5631 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
5633 #define S_028780_ENABLE(x) (((x) & 0x1) << 30) argument
5634 #define G_028780_ENABLE(x) (((x) >> 30) & 0x1) argument
5636 #define S_028780_DISABLE_ROP3(x) (((x) & 0x1) << 31) argument
5637 #define G_028780_DISABLE_ROP3(x) (((x) >> 31) & 0x1) argument
5651 #define S_0287E4_BASE_ADDR(x) (((x) & 0xFF) << 0) argument
5652 #define G_0287E4_BASE_ADDR(x) (((x) >> 0) & 0xFF) argument
5656 #define S_0287F0_SOURCE_SELECT(x) (((x) & 0x03) << 0) argument
5657 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x03) argument
5663 #define S_0287F0_MAJOR_MODE(x) (((x) & 0x03) << 2) argument
5664 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x03) argument
5668 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5) argument
5669 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
5671 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6) argument
5672 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
5676 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0) argument
5677 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
5679 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1) argument
5680 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
5682 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2) argument
5683 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
5685 #define S_028800_DEPTH_BOUNDS_ENABLE(x) (((x) & 0x1) << 3) argument
5686 #define G_028800_DEPTH_BOUNDS_ENABLE(x) (((x) >> 3) & 0x1) argument
5688 #define S_028800_ZFUNC(x) (((x) & 0x07) << 4) argument
5689 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x07) argument
5699 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7) argument
5700 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
5702 #define S_028800_STENCILFUNC(x) (((x) & 0x07) << 8) argument
5703 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x07) argument
5713 #define S_028800_STENCILFUNC_BF(x) (((x) & 0x07) << 20) argument
5714 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x07) argument
5724 #define S_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) & 0x1) << 30) argument
5725 #define G_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) >> 30) & 0x1) argument
5727 #define S_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) & 0x1) << 31) argument
5728 #define G_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) >> 31) & 0x1) argument
5732 #define S_028808_DEGAMMA_ENABLE(x) (((x) & 0x1) << 3) argument
5733 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
5735 #define S_028808_MODE(x) (((x) & 0x07) << 4) argument
5736 #define G_028808_MODE(x) (((x) >> 4) & 0x07) argument
5743 #define S_028808_ROP3(x) (((x) & 0xFF) << 16) argument
5744 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
5775 #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0) argument
5776 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
5778 #define S_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x) (((x) & 0x1) << 1) argument
5779 #define G_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x) (((x) >> 1) & 0x1) argument
5781 #define S_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) & 0x1) << 2) argument
5782 #define G_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) >> 2) & 0x1) argument
5784 #define S_02880C_Z_ORDER(x) (((x) & 0x03) << 4) argument
5785 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x03) argument
5791 #define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6) argument
5792 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
5794 #define S_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) & 0x1) << 7) argument
5795 #define G_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) >> 7) & 0x1) argument
5797 #define S_02880C_MASK_EXPORT_ENABLE(x) (((x) & 0x1) << 8) argument
5798 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
5800 #define S_02880C_EXEC_ON_HIER_FAIL(x) (((x) & 0x1) << 9) argument
5801 #define G_02880C_EXEC_ON_HIER_FAIL(x) (((x) >> 9) & 0x1) argument
5803 #define S_02880C_EXEC_ON_NOOP(x) (((x) & 0x1) << 10) argument
5804 #define G_02880C_EXEC_ON_NOOP(x) (((x) >> 10) & 0x1) argument
5806 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) & 0x1) << 11) argument
5807 #define G_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) >> 11) & 0x1) argument
5809 #define S_02880C_DEPTH_BEFORE_SHADER(x) (((x) & 0x1) << 12) argument
5810 #define G_02880C_DEPTH_BEFORE_SHADER(x) (((x) >> 12) & 0x1) argument
5813 #define S_028810_UCP_ENA_0(x) (((x) & 0x1) << 0) argument
5814 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
5816 #define S_028810_UCP_ENA_1(x) (((x) & 0x1) << 1) argument
5817 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
5819 #define S_028810_UCP_ENA_2(x) (((x) & 0x1) << 2) argument
5820 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
5822 #define S_028810_UCP_ENA_3(x) (((x) & 0x1) << 3) argument
5823 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
5825 #define S_028810_UCP_ENA_4(x) (((x) & 0x1) << 4) argument
5826 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
5828 #define S_028810_UCP_ENA_5(x) (((x) & 0x1) << 5) argument
5829 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
5831 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((x) & 0x1) << 13) argument
5832 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
5834 #define S_028810_PS_UCP_MODE(x) (((x) & 0x03) << 14) argument
5835 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x03) argument
5837 #define S_028810_CLIP_DISABLE(x) (((x) & 0x1) << 16) argument
5838 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
5840 #define S_028810_UCP_CULL_ONLY_ENA(x) (((x) & 0x1) << 17) argument
5841 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
5843 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) & 0x1) << 18) argument
5844 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
5846 #define S_028810_DX_CLIP_SPACE_DEF(x) (((x) & 0x1) << 19) argument
5847 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
5849 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((x) & 0x1) << 20) argument
5850 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
5852 #define S_028810_VTX_KILL_OR(x) (((x) & 0x1) << 21) argument
5853 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
5855 #define S_028810_DX_RASTERIZATION_KILL(x) (((x) & 0x1) << 22) argument
5856 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
5858 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) & 0x1) << 24) argument
5859 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
5861 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) & 0x1) << 25) argument
5862 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
5864 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((x) & 0x1) << 26) argument
5865 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
5867 #define S_028810_ZCLIP_FAR_DISABLE(x) (((x) & 0x1) << 27) argument
5868 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
5871 #define S_028814_CULL_FRONT(x) (((x) & 0x1) << 0) argument
5872 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
5874 #define S_028814_CULL_BACK(x) (((x) & 0x1) << 1) argument
5875 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
5877 #define S_028814_FACE(x) (((x) & 0x1) << 2) argument
5878 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
5880 #define S_028814_POLY_MODE(x) (((x) & 0x03) << 3) argument
5881 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x03) argument
5885 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((x) & 0x07) << 5) argument
5886 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x07) argument
5891 #define S_028814_POLYMODE_BACK_PTYPE(x) (((x) & 0x07) << 8) argument
5892 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x07) argument
5897 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) & 0x1) << 11) argument
5898 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
5900 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) & 0x1) << 12) argument
5901 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
5903 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) & 0x1) << 13) argument
5904 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
5906 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) & 0x1) << 16) argument
5907 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
5909 #define S_028814_PROVOKING_VTX_LAST(x) (((x) & 0x1) << 19) argument
5910 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
5912 #define S_028814_PERSP_CORR_DIS(x) (((x) & 0x1) << 20) argument
5913 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
5915 #define S_028814_MULTI_PRIM_IB_ENA(x) (((x) & 0x1) << 21) argument
5916 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
5919 #define S_028818_VPORT_X_SCALE_ENA(x) (((x) & 0x1) << 0) argument
5920 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0) & 0x1) argument
5922 #define S_028818_VPORT_X_OFFSET_ENA(x) (((x) & 0x1) << 1) argument
5923 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1) & 0x1) argument
5925 #define S_028818_VPORT_Y_SCALE_ENA(x) (((x) & 0x1) << 2) argument
5926 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2) & 0x1) argument
5928 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((x) & 0x1) << 3) argument
5929 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3) & 0x1) argument
5931 #define S_028818_VPORT_Z_SCALE_ENA(x) (((x) & 0x1) << 4) argument
5932 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4) & 0x1) argument
5934 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((x) & 0x1) << 5) argument
5935 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5) & 0x1) argument
5937 #define S_028818_VTX_XY_FMT(x) (((x) & 0x1) << 8) argument
5938 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
5940 #define S_028818_VTX_Z_FMT(x) (((x) & 0x1) << 9) argument
5941 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
5943 #define S_028818_VTX_W0_FMT(x) (((x) & 0x1) << 10) argument
5944 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
5947 #define S_02881C_CLIP_DIST_ENA_0(x) (((x) & 0x1) << 0) argument
5948 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
5950 #define S_02881C_CLIP_DIST_ENA_1(x) (((x) & 0x1) << 1) argument
5951 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
5953 #define S_02881C_CLIP_DIST_ENA_2(x) (((x) & 0x1) << 2) argument
5954 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
5956 #define S_02881C_CLIP_DIST_ENA_3(x) (((x) & 0x1) << 3) argument
5957 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
5959 #define S_02881C_CLIP_DIST_ENA_4(x) (((x) & 0x1) << 4) argument
5960 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
5962 #define S_02881C_CLIP_DIST_ENA_5(x) (((x) & 0x1) << 5) argument
5963 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
5965 #define S_02881C_CLIP_DIST_ENA_6(x) (((x) & 0x1) << 6) argument
5966 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
5968 #define S_02881C_CLIP_DIST_ENA_7(x) (((x) & 0x1) << 7) argument
5969 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
5971 #define S_02881C_CULL_DIST_ENA_0(x) (((x) & 0x1) << 8) argument
5972 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
5974 #define S_02881C_CULL_DIST_ENA_1(x) (((x) & 0x1) << 9) argument
5975 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
5977 #define S_02881C_CULL_DIST_ENA_2(x) (((x) & 0x1) << 10) argument
5978 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
5980 #define S_02881C_CULL_DIST_ENA_3(x) (((x) & 0x1) << 11) argument
5981 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
5983 #define S_02881C_CULL_DIST_ENA_4(x) (((x) & 0x1) << 12) argument
5984 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
5986 #define S_02881C_CULL_DIST_ENA_5(x) (((x) & 0x1) << 13) argument
5987 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
5989 #define S_02881C_CULL_DIST_ENA_6(x) (((x) & 0x1) << 14) argument
5990 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
5992 #define S_02881C_CULL_DIST_ENA_7(x) (((x) & 0x1) << 15) argument
5993 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
5995 #define S_02881C_USE_VTX_POINT_SIZE(x) (((x) & 0x1) << 16) argument
5996 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
5998 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((x) & 0x1) << 17) argument
5999 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
6001 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) & 0x1) << 18) argument
6002 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
6004 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) & 0x1) << 19) argument
6005 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
6007 #define S_02881C_USE_VTX_KILL_FLAG(x) (((x) & 0x1) << 20) argument
6008 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
6010 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) & 0x1) << 21) argument
6011 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
6013 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) & 0x1) << 22) argument
6014 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
6016 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) & 0x1) << 23) argument
6017 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
6019 #define S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) & 0x1) << 24) argument
6020 #define G_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) >> 24) & 0x1) argument
6022 #define S_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) & 0x1) << 25) argument
6023 #define G_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) >> 25) & 0x1) argument
6026 #define S_028820_VTE_XY_INF_DISCARD(x) (((x) & 0x1) << 0) argument
6027 #define G_028820_VTE_XY_INF_DISCARD(x) (((x) >> 0) & 0x1) argument
6029 #define S_028820_VTE_Z_INF_DISCARD(x) (((x) & 0x1) << 1) argument
6030 #define G_028820_VTE_Z_INF_DISCARD(x) (((x) >> 1) & 0x1) argument
6032 #define S_028820_VTE_W_INF_DISCARD(x) (((x) & 0x1) << 2) argument
6033 #define G_028820_VTE_W_INF_DISCARD(x) (((x) >> 2) & 0x1) argument
6035 #define S_028820_VTE_0XNANINF_IS_0(x) (((x) & 0x1) << 3) argument
6036 #define G_028820_VTE_0XNANINF_IS_0(x) (((x) >> 3) & 0x1) argument
6038 #define S_028820_VTE_XY_NAN_RETAIN(x) (((x) & 0x1) << 4) argument
6039 #define G_028820_VTE_XY_NAN_RETAIN(x) (((x) >> 4) & 0x1) argument
6041 #define S_028820_VTE_Z_NAN_RETAIN(x) (((x) & 0x1) << 5) argument
6042 #define G_028820_VTE_Z_NAN_RETAIN(x) (((x) >> 5) & 0x1) argument
6044 #define S_028820_VTE_W_NAN_RETAIN(x) (((x) & 0x1) << 6) argument
6045 #define G_028820_VTE_W_NAN_RETAIN(x) (((x) >> 6) & 0x1) argument
6047 #define S_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) & 0x1) << 7) argument
6048 #define G_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) >> 7) & 0x1) argument
6050 #define S_028820_VS_XY_NAN_TO_INF(x) (((x) & 0x1) << 8) argument
6051 #define G_028820_VS_XY_NAN_TO_INF(x) (((x) >> 8) & 0x1) argument
6053 #define S_028820_VS_XY_INF_RETAIN(x) (((x) & 0x1) << 9) argument
6054 #define G_028820_VS_XY_INF_RETAIN(x) (((x) >> 9) & 0x1) argument
6056 #define S_028820_VS_Z_NAN_TO_INF(x) (((x) & 0x1) << 10) argument
6057 #define G_028820_VS_Z_NAN_TO_INF(x) (((x) >> 10) & 0x1) argument
6059 #define S_028820_VS_Z_INF_RETAIN(x) (((x) & 0x1) << 11) argument
6060 #define G_028820_VS_Z_INF_RETAIN(x) (((x) >> 11) & 0x1) argument
6062 #define S_028820_VS_W_NAN_TO_INF(x) (((x) & 0x1) << 12) argument
6063 #define G_028820_VS_W_NAN_TO_INF(x) (((x) >> 12) & 0x1) argument
6065 #define S_028820_VS_W_INF_RETAIN(x) (((x) & 0x1) << 13) argument
6066 #define G_028820_VS_W_INF_RETAIN(x) (((x) >> 13) & 0x1) argument
6068 #define S_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) & 0x1) << 14) argument
6069 #define G_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) >> 14) & 0x1) argument
6071 #define S_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) & 0x1) << 20) argument
6072 #define G_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) >> 20) & 0x1) argument
6075 #define S_028824_LINE_STIPPLE_RESET(x) (((x) & 0x03) << 0) argument
6076 #define G_028824_LINE_STIPPLE_RESET(x) (((x) >> 0) & 0x03) argument
6078 #define S_028824_EXPAND_FULL_LENGTH(x) (((x) & 0x1) << 2) argument
6079 #define G_028824_EXPAND_FULL_LENGTH(x) (((x) >> 2) & 0x1) argument
6081 #define S_028824_FRACTIONAL_ACCUM(x) (((x) & 0x1) << 3) argument
6082 #define G_028824_FRACTIONAL_ACCUM(x) (((x) >> 3) & 0x1) argument
6084 #define S_028824_DIAMOND_ADJUST(x) (((x) & 0x1) << 4) argument
6085 #define G_028824_DIAMOND_ADJUST(x) (((x) >> 4) & 0x1) argument
6089 #define S_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) & 0x1) << 0) argument
6090 #define G_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) >> 0) & 0x1) argument
6092 #define S_02882C_LINE_FILTER_DISABLE(x) (((x) & 0x1) << 1) argument
6093 #define G_02882C_LINE_FILTER_DISABLE(x) (((x) >> 1) & 0x1) argument
6095 #define S_02882C_POINT_FILTER_DISABLE(x) (((x) & 0x1) << 2) argument
6096 #define G_02882C_POINT_FILTER_DISABLE(x) (((x) >> 2) & 0x1) argument
6098 #define S_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) & 0x1) << 3) argument
6099 #define G_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) >> 3) & 0x1) argument
6101 #define S_02882C_TRIANGLE_EXPAND_ENA(x) (((x) & 0x1) << 4) argument
6102 #define G_02882C_TRIANGLE_EXPAND_ENA(x) (((x) >> 4) & 0x1) argument
6104 #define S_02882C_LINE_EXPAND_ENA(x) (((x) & 0x1) << 5) argument
6105 #define G_02882C_LINE_EXPAND_ENA(x) (((x) >> 5) & 0x1) argument
6107 #define S_02882C_POINT_EXPAND_ENA(x) (((x) & 0x1) << 6) argument
6108 #define G_02882C_POINT_EXPAND_ENA(x) (((x) >> 6) & 0x1) argument
6110 #define S_02882C_RECTANGLE_EXPAND_ENA(x) (((x) & 0x1) << 7) argument
6111 #define G_02882C_RECTANGLE_EXPAND_ENA(x) (((x) >> 7) & 0x1) argument
6113 #define S_02882C_PRIM_EXPAND_CONSTANT(x) (((x) & 0xFF) << 8) argument
6114 #define G_02882C_PRIM_EXPAND_CONSTANT(x) (((x) >> 8) & 0xFF) argument
6117 #define S_028A00_HEIGHT(x) (((x) & 0xFFFF) << 0) argument
6118 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
6120 #define S_028A00_WIDTH(x) (((x) & 0xFFFF) << 16) argument
6121 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
6124 #define S_028A04_MIN_SIZE(x) (((x) & 0xFFFF) << 0) argument
6125 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
6127 #define S_028A04_MAX_SIZE(x) (((x) & 0xFFFF) << 16) argument
6128 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
6131 #define S_028A08_WIDTH(x) (((x) & 0xFFFF) << 0) argument
6132 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
6135 #define S_028A0C_LINE_PATTERN(x) (((x) & 0xFFFF) << 0) argument
6136 #define G_028A0C_LINE_PATTERN(x) (((x) >> 0) & 0xFFFF) argument
6138 #define S_028A0C_REPEAT_COUNT(x) (((x) & 0xFF) << 16) argument
6139 #define G_028A0C_REPEAT_COUNT(x) (((x) >> 16) & 0xFF) argument
6141 #define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28) argument
6142 #define G_028A0C_PATTERN_BIT_ORDER(x) (((x) >> 28) & 0x1) argument
6144 #define S_028A0C_AUTO_RESET_CNTL(x) (((x) & 0x03) << 29) argument
6145 #define G_028A0C_AUTO_RESET_CNTL(x) (((x) >> 29) & 0x03) argument
6148 #define S_028A10_PATH_SELECT(x) (((x) & 0x07) << 0) argument
6149 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x07) argument
6157 #define S_028A14_TESS_MODE(x) (((x) & 0x03) << 0) argument
6158 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x03) argument
6163 #define S_028A20_REUSE_DEPTH(x) (((x) & 0xFF) << 0) argument
6164 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
6167 #define S_028A24_PRIM_TYPE(x) (((x) & 0x1F) << 0) argument
6168 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
6188 #define S_028A24_RETAIN_ORDER(x) (((x) & 0x1) << 14) argument
6189 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
6191 #define S_028A24_RETAIN_QUADS(x) (((x) & 0x1) << 15) argument
6192 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
6194 #define S_028A24_PRIM_ORDER(x) (((x) & 0x07) << 16) argument
6195 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x07) argument
6203 #define S_028A28_FIRST_DECR(x) (((x) & 0x0F) << 0) argument
6204 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0x0F) argument
6207 #define S_028A2C_DECR(x) (((x) & 0x0F) << 0) argument
6208 #define G_028A2C_DECR(x) (((x) >> 0) & 0x0F) argument
6211 #define S_028A30_COMP_X_EN(x) (((x) & 0x1) << 0) argument
6212 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
6214 #define S_028A30_COMP_Y_EN(x) (((x) & 0x1) << 1) argument
6215 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
6217 #define S_028A30_COMP_Z_EN(x) (((x) & 0x1) << 2) argument
6218 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
6220 #define S_028A30_COMP_W_EN(x) (((x) & 0x1) << 3) argument
6221 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
6223 #define S_028A30_STRIDE(x) (((x) & 0xFF) << 8) argument
6224 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
6226 #define S_028A30_SHIFT(x) (((x) & 0xFF) << 16) argument
6227 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
6230 #define S_028A34_COMP_X_EN(x) (((x) & 0x1) << 0) argument
6231 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
6233 #define S_028A34_COMP_Y_EN(x) (((x) & 0x1) << 1) argument
6234 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
6236 #define S_028A34_COMP_Z_EN(x) (((x) & 0x1) << 2) argument
6237 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
6239 #define S_028A34_COMP_W_EN(x) (((x) & 0x1) << 3) argument
6240 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
6242 #define S_028A34_STRIDE(x) (((x) & 0xFF) << 8) argument
6243 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
6245 #define S_028A34_SHIFT(x) (((x) & 0xFF) << 16) argument
6246 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
6249 #define S_028A38_X_CONV(x) (((x) & 0x0F) << 0) argument
6250 #define G_028A38_X_CONV(x) (((x) >> 0) & 0x0F) argument
6261 #define S_028A38_X_OFFSET(x) (((x) & 0x0F) << 4) argument
6262 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
6264 #define S_028A38_Y_CONV(x) (((x) & 0x0F) << 8) argument
6265 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0x0F) argument
6276 #define S_028A38_Y_OFFSET(x) (((x) & 0x0F) << 12) argument
6277 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
6279 #define S_028A38_Z_CONV(x) (((x) & 0x0F) << 16) argument
6280 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0x0F) argument
6291 #define S_028A38_Z_OFFSET(x) (((x) & 0x0F) << 20) argument
6292 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
6294 #define S_028A38_W_CONV(x) (((x) & 0x0F) << 24) argument
6295 #define G_028A38_W_CONV(x) (((x) >> 24) & 0x0F) argument
6306 #define S_028A38_W_OFFSET(x) (((x) & 0x0F) << 28) argument
6307 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
6310 #define S_028A3C_X_CONV(x) (((x) & 0x0F) << 0) argument
6311 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0x0F) argument
6322 #define S_028A3C_X_OFFSET(x) (((x) & 0x0F) << 4) argument
6323 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
6325 #define S_028A3C_Y_CONV(x) (((x) & 0x0F) << 8) argument
6326 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0x0F) argument
6337 #define S_028A3C_Y_OFFSET(x) (((x) & 0x0F) << 12) argument
6338 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
6340 #define S_028A3C_Z_CONV(x) (((x) & 0x0F) << 16) argument
6341 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0x0F) argument
6352 #define S_028A3C_Z_OFFSET(x) (((x) & 0x0F) << 20) argument
6353 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
6355 #define S_028A3C_W_CONV(x) (((x) & 0x0F) << 24) argument
6356 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0x0F) argument
6367 #define S_028A3C_W_OFFSET(x) (((x) & 0x0F) << 28) argument
6368 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
6371 #define S_028A40_MODE(x) (((x) & 0x07) << 0) argument
6372 #define G_028A40_MODE(x) (((x) >> 0) & 0x07) argument
6380 #define S_028A40_CUT_MODE(x) (((x) & 0x03) << 4) argument
6381 #define G_028A40_CUT_MODE(x) (((x) >> 4) & 0x03) argument
6387 #define S_028A40_GS_C_PACK_EN(x) (((x) & 0x1) << 11) argument
6388 #define G_028A40_GS_C_PACK_EN(x) (((x) >> 11) & 0x1) argument
6390 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 13) argument
6391 #define G_028A40_ES_PASSTHRU(x) (((x) >> 13) & 0x1) argument
6393 #define S_028A40_COMPUTE_MODE(x) (((x) & 0x1) << 14) argument
6394 #define G_028A40_COMPUTE_MODE(x) (((x) >> 14) & 0x1) argument
6396 #define S_028A40_FAST_COMPUTE_MODE(x) (((x) & 0x1) << 15) argument
6397 #define G_028A40_FAST_COMPUTE_MODE(x) (((x) >> 15) & 0x1) argument
6399 #define S_028A40_ELEMENT_INFO_EN(x) (((x) & 0x1) << 16) argument
6400 #define G_028A40_ELEMENT_INFO_EN(x) (((x) >> 16) & 0x1) argument
6402 #define S_028A40_PARTIAL_THD_AT_EOI(x) (((x) & 0x1) << 17) argument
6403 #define G_028A40_PARTIAL_THD_AT_EOI(x) (((x) >> 17) & 0x1) argument
6405 #define S_028A40_SUPPRESS_CUTS(x) (((x) & 0x1) << 18) argument
6406 #define G_028A40_SUPPRESS_CUTS(x) (((x) >> 18) & 0x1) argument
6408 #define S_028A40_ES_WRITE_OPTIMIZE(x) (((x) & 0x1) << 19) argument
6409 #define G_028A40_ES_WRITE_OPTIMIZE(x) (((x) >> 19) & 0x1) argument
6411 #define S_028A40_GS_WRITE_OPTIMIZE(x) (((x) & 0x1) << 20) argument
6412 #define G_028A40_GS_WRITE_OPTIMIZE(x) (((x) >> 20) & 0x1) argument
6415 #define S_028A48_MSAA_ENABLE(x) (((x) & 0x1) << 0) argument
6416 #define G_028A48_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
6418 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((x) & 0x1) << 1) argument
6419 #define G_028A48_VPORT_SCISSOR_ENABLE(x) (((x) >> 1) & 0x1) argument
6421 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((x) & 0x1) << 2) argument
6422 #define G_028A48_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
6424 #define S_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) & 0x1) << 3) argument
6425 #define G_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) >> 3) & 0x1) argument
6428 #define S_028A4C_WALK_SIZE(x) (((x) & 0x1) << 0) argument
6429 #define G_028A4C_WALK_SIZE(x) (((x) >> 0) & 0x1) argument
6431 #define S_028A4C_WALK_ALIGNMENT(x) (((x) & 0x1) << 1) argument
6432 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 1) & 0x1) argument
6434 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) & 0x1) << 2) argument
6435 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 2) & 0x1) argument
6437 #define S_028A4C_WALK_FENCE_ENABLE(x) (((x) & 0x1) << 3) argument
6438 #define G_028A4C_WALK_FENCE_ENABLE(x) (((x) >> 3) & 0x1) argument
6440 #define S_028A4C_WALK_FENCE_SIZE(x) (((x) & 0x07) << 4) argument
6441 #define G_028A4C_WALK_FENCE_SIZE(x) (((x) >> 4) & 0x07) argument
6443 #define S_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) & 0x1) << 7) argument
6444 #define G_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) >> 7) & 0x1) argument
6446 #define S_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) & 0x1) << 8) argument
6447 #define G_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) >> 8) & 0x1) argument
6449 #define S_028A4C_TILE_COVER_DISABLE(x) (((x) & 0x1) << 9) argument
6450 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 9) & 0x1) argument
6452 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) & 0x1) << 10) argument
6453 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 10) & 0x1) argument
6455 #define S_028A4C_ZMM_LINE_EXTENT(x) (((x) & 0x1) << 11) argument
6456 #define G_028A4C_ZMM_LINE_EXTENT(x) (((x) >> 11) & 0x1) argument
6458 #define S_028A4C_ZMM_LINE_OFFSET(x) (((x) & 0x1) << 12) argument
6459 #define G_028A4C_ZMM_LINE_OFFSET(x) (((x) >> 12) & 0x1) argument
6461 #define S_028A4C_ZMM_RECT_EXTENT(x) (((x) & 0x1) << 13) argument
6462 #define G_028A4C_ZMM_RECT_EXTENT(x) (((x) >> 13) & 0x1) argument
6464 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((x) & 0x1) << 14) argument
6465 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 14) & 0x1) argument
6467 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) & 0x1) << 15) argument
6468 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 15) & 0x1) argument
6470 #define S_028A4C_PS_ITER_SAMPLE(x) (((x) & 0x1) << 16) argument
6471 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 16) & 0x1) argument
6473 #define S_028A4C_MULTI_SHADER_ENGINE_PRIM_DISC(x) (((x) & 0x1) << 17) argument
6474 #define G_028A4C_MULTI_SHADER_ENGINE_PRIM_DISC(x) (((x) >> 17) & 0x1) argument
6476 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) & 0x1) << 25) argument
6477 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 25) & 0x1) argument
6479 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) & 0x1) << 26) argument
6480 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 26) & 0x1) argument
6482 #define S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) & 0x1) << 27) argument
6483 #define G_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) >> 27) & 0x1) argument
6485 #define S_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((x) & 0x07) << 28) argument
6486 #define G_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((x) >> 28) & 0x07) argument
6490 #define S_028A54_GS_PER_ES(x) (((x) & 0x7FF) << 0) argument
6491 #define G_028A54_GS_PER_ES(x) (((x) >> 0) & 0x7FF) argument
6494 #define S_028A58_ES_PER_GS(x) (((x) & 0x7FF) << 0) argument
6495 #define G_028A58_ES_PER_GS(x) (((x) >> 0) & 0x7FF) argument
6498 #define S_028A5C_GS_PER_VS(x) (((x) & 0x0F) << 0) argument
6499 #define G_028A5C_GS_PER_VS(x) (((x) >> 0) & 0x0F) argument
6502 #define S_028A60_OFFSET(x) (((x) & 0x7FFF) << 0) argument
6503 #define G_028A60_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6506 #define S_028A64_OFFSET(x) (((x) & 0x7FFF) << 0) argument
6507 #define G_028A64_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6510 #define S_028A68_OFFSET(x) (((x) & 0x7FFF) << 0) argument
6511 #define G_028A68_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6514 #define S_028A6C_OUTPRIM_TYPE(x) (((x) & 0x3F) << 0) argument
6515 #define G_028A6C_OUTPRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
6517 #define S_028A6C_OUTPRIM_TYPE_1(x) (((x) & 0x3F) << 8) argument
6518 #define G_028A6C_OUTPRIM_TYPE_1(x) (((x) >> 8) & 0x3F) argument
6520 #define S_028A6C_OUTPRIM_TYPE_2(x) (((x) & 0x3F) << 16) argument
6521 #define G_028A6C_OUTPRIM_TYPE_2(x) (((x) >> 16) & 0x3F) argument
6523 #define S_028A6C_OUTPRIM_TYPE_3(x) (((x) & 0x3F) << 22) argument
6524 #define G_028A6C_OUTPRIM_TYPE_3(x) (((x) >> 22) & 0x3F) argument
6526 #define S_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) & 0x1) << 31) argument
6527 #define G_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) >> 31) & 0x1) argument
6533 #define S_028A7C_INDEX_TYPE(x) (((x) & 0x03) << 0) argument
6534 #define G_028A7C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
6538 #define S_028A7C_SWAP_MODE(x) (((x) & 0x03) << 2) argument
6539 #define G_028A7C_SWAP_MODE(x) (((x) >> 2) & 0x03) argument
6546 #define S_028A84_PRIMITIVEID_EN(x) (((x) & 0x1) << 0) argument
6547 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
6549 #define S_028A84_DISABLE_RESET_ON_EOI(x) (((x) & 0x1) << 1) argument
6550 #define G_028A84_DISABLE_RESET_ON_EOI(x) (((x) >> 1) & 0x1) argument
6555 #define S_028A90_EVENT_TYPE(x) (((x) & 0x3F) << 0) argument
6556 #define G_028A90_EVENT_TYPE(x) (((x) >> 0) & 0x3F) argument
6606 #define S_028A90_ADDRESS_HI(x) (((x) & 0x1FF) << 18) argument
6607 #define G_028A90_ADDRESS_HI(x) (((x) >> 18) & 0x1FF) argument
6609 #define S_028A90_EXTENDED_EVENT(x) (((x) & 0x1) << 27) argument
6610 #define G_028A90_EXTENDED_EVENT(x) (((x) >> 27) & 0x1) argument
6613 #define S_028A94_RESET_EN(x) (((x) & 0x1) << 0) argument
6614 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
6619 #define S_028AA8_PRIMGROUP_SIZE(x) (((x) & 0xFFFF) << 0) argument
6620 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
6622 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) & 0x1) << 16) argument
6623 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
6625 #define S_028AA8_SWITCH_ON_EOP(x) (((x) & 0x1) << 17) argument
6626 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument
6628 #define S_028AA8_PARTIAL_ES_WAVE_ON(x) (((x) & 0x1) << 18) argument
6629 #define G_028AA8_PARTIAL_ES_WAVE_ON(x) (((x) >> 18) & 0x1) argument
6631 #define S_028AA8_SWITCH_ON_EOI(x) (((x) & 0x1) << 19) argument
6632 #define G_028AA8_SWITCH_ON_EOI(x) (((x) >> 19) & 0x1) argument
6635 #define S_028AAC_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6636 #define G_028AAC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6639 #define S_028AB0_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6640 #define G_028AB0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6643 #define S_028AB4_REUSE_OFF(x) (((x) & 0x1) << 0) argument
6644 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
6647 #define S_028AB8_VTX_CNT_EN(x) (((x) & 0x1) << 0) argument
6648 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
6651 #define S_028ABC_LINEAR(x) (((x) & 0x1) << 0) argument
6652 #define G_028ABC_LINEAR(x) (((x) >> 0) & 0x1) argument
6654 #define S_028ABC_FULL_CACHE(x) (((x) & 0x1) << 1) argument
6655 #define G_028ABC_FULL_CACHE(x) (((x) >> 1) & 0x1) argument
6657 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 2) argument
6658 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 2) & 0x1) argument
6660 #define S_028ABC_PRELOAD(x) (((x) & 0x1) << 3) argument
6661 #define G_028ABC_PRELOAD(x) (((x) >> 3) & 0x1) argument
6663 #define S_028ABC_PREFETCH_WIDTH(x) (((x) & 0x3F) << 4) argument
6664 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 4) & 0x3F) argument
6666 #define S_028ABC_PREFETCH_HEIGHT(x) (((x) & 0x3F) << 10) argument
6667 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 10) & 0x3F) argument
6669 #define S_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) & 0x1) << 16) argument
6670 #define G_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) >> 16) & 0x1) argument
6673 #define S_028AC0_COMPAREFUNC0(x) (((x) & 0x07) << 0) argument
6674 #define G_028AC0_COMPAREFUNC0(x) (((x) >> 0) & 0x07) argument
6684 #define S_028AC0_COMPAREVALUE0(x) (((x) & 0xFF) << 4) argument
6685 #define G_028AC0_COMPAREVALUE0(x) (((x) >> 4) & 0xFF) argument
6687 #define S_028AC0_COMPAREMASK0(x) (((x) & 0xFF) << 12) argument
6688 #define G_028AC0_COMPAREMASK0(x) (((x) >> 12) & 0xFF) argument
6690 #define S_028AC0_ENABLE0(x) (((x) & 0x1) << 24) argument
6691 #define G_028AC0_ENABLE0(x) (((x) >> 24) & 0x1) argument
6694 #define S_028AC4_COMPAREFUNC1(x) (((x) & 0x07) << 0) argument
6695 #define G_028AC4_COMPAREFUNC1(x) (((x) >> 0) & 0x07) argument
6705 #define S_028AC4_COMPAREVALUE1(x) (((x) & 0xFF) << 4) argument
6706 #define G_028AC4_COMPAREVALUE1(x) (((x) >> 4) & 0xFF) argument
6708 #define S_028AC4_COMPAREMASK1(x) (((x) & 0xFF) << 12) argument
6709 #define G_028AC4_COMPAREMASK1(x) (((x) >> 12) & 0xFF) argument
6711 #define S_028AC4_ENABLE1(x) (((x) & 0x1) << 24) argument
6712 #define G_028AC4_ENABLE1(x) (((x) >> 24) & 0x1) argument
6715 #define S_028AC8_START_X(x) (((x) & 0xFF) << 0) argument
6716 #define G_028AC8_START_X(x) (((x) >> 0) & 0xFF) argument
6718 #define S_028AC8_START_Y(x) (((x) & 0xFF) << 8) argument
6719 #define G_028AC8_START_Y(x) (((x) >> 8) & 0xFF) argument
6721 #define S_028AC8_MAX_X(x) (((x) & 0xFF) << 16) argument
6722 #define G_028AC8_MAX_X(x) (((x) >> 16) & 0xFF) argument
6724 #define S_028AC8_MAX_Y(x) (((x) & 0xFF) << 24) argument
6725 #define G_028AC8_MAX_Y(x) (((x) >> 24) & 0xFF) argument
6729 #define S_028AD4_STRIDE(x) (((x) & 0x3FF) << 0) argument
6730 #define G_028AD4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6735 #define S_028AE4_STRIDE(x) (((x) & 0x3FF) << 0) argument
6736 #define G_028AE4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6741 #define S_028AF4_STRIDE(x) (((x) & 0x3FF) << 0) argument
6742 #define G_028AF4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6747 #define S_028B04_STRIDE(x) (((x) & 0x3FF) << 0) argument
6748 #define G_028B04_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6754 #define S_028B30_VERTEX_STRIDE(x) (((x) & 0x1FF) << 0) argument
6755 #define G_028B30_VERTEX_STRIDE(x) (((x) >> 0) & 0x1FF) argument
6758 #define S_028B38_MAX_VERT_OUT(x) (((x) & 0x7FF) << 0) argument
6759 #define G_028B38_MAX_VERT_OUT(x) (((x) >> 0) & 0x7FF) argument
6762 #define S_028B54_LS_EN(x) (((x) & 0x03) << 0) argument
6763 #define G_028B54_LS_EN(x) (((x) >> 0) & 0x03) argument
6768 #define S_028B54_HS_EN(x) (((x) & 0x1) << 2) argument
6769 #define G_028B54_HS_EN(x) (((x) >> 2) & 0x1) argument
6771 #define S_028B54_ES_EN(x) (((x) & 0x03) << 3) argument
6772 #define G_028B54_ES_EN(x) (((x) >> 3) & 0x03) argument
6777 #define S_028B54_GS_EN(x) (((x) & 0x1) << 5) argument
6778 #define G_028B54_GS_EN(x) (((x) >> 5) & 0x1) argument
6780 #define S_028B54_VS_EN(x) (((x) & 0x03) << 6) argument
6781 #define G_028B54_VS_EN(x) (((x) >> 6) & 0x03) argument
6786 #define S_028B54_DYNAMIC_HS(x) (((x) & 0x1) << 8) argument
6787 #define G_028B54_DYNAMIC_HS(x) (((x) >> 8) & 0x1) argument
6790 #define S_028B58_NUM_PATCHES(x) (((x) & 0xFF) << 0) argument
6791 #define G_028B58_NUM_PATCHES(x) (((x) >> 0) & 0xFF) argument
6793 #define S_028B58_HS_NUM_INPUT_CP(x) (((x) & 0x3F) << 8) argument
6794 #define G_028B58_HS_NUM_INPUT_CP(x) (((x) >> 8) & 0x3F) argument
6796 #define S_028B58_HS_NUM_OUTPUT_CP(x) (((x) & 0x3F) << 14) argument
6797 #define G_028B58_HS_NUM_OUTPUT_CP(x) (((x) >> 14) & 0x3F) argument
6800 #define S_028B5C_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6801 #define G_028B5C_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6804 #define S_028B60_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6805 #define G_028B60_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6808 #define S_028B64_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6809 #define G_028B64_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6812 #define S_028B68_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
6813 #define G_028B68_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6816 #define S_028B6C_TYPE(x) (((x) & 0x03) << 0) argument
6817 #define G_028B6C_TYPE(x) (((x) >> 0) & 0x03) argument
6822 #define S_028B6C_PARTITIONING(x) (((x) & 0x07) << 2) argument
6823 #define G_028B6C_PARTITIONING(x) (((x) >> 2) & 0x07) argument
6829 #define S_028B6C_TOPOLOGY(x) (((x) & 0x07) << 5) argument
6830 #define G_028B6C_TOPOLOGY(x) (((x) >> 5) & 0x07) argument
6836 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((x) & 0x1) << 8) argument
6837 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1) argument
6839 #define S_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((x) & 0x0F) << 10) argument
6840 #define G_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((x) >> 10) & 0x0F) argument
6842 #define S_028B6C_DISABLE_DONUTS(x) (((x) & 0x1) << 14) argument
6843 #define G_028B6C_DISABLE_DONUTS(x) (((x) >> 14) & 0x1) argument
6846 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) & 0x1) << 0) argument
6847 #define G_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) >> 0) & 0x1) argument
6849 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((x) & 0x03) << 8) argument
6850 #define G_028B70_ALPHA_TO_MASK_OFFSET0(x) (((x) >> 8) & 0x03) argument
6852 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((x) & 0x03) << 10) argument
6853 #define G_028B70_ALPHA_TO_MASK_OFFSET1(x) (((x) >> 10) & 0x03) argument
6855 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((x) & 0x03) << 12) argument
6856 #define G_028B70_ALPHA_TO_MASK_OFFSET2(x) (((x) >> 12) & 0x03) argument
6858 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((x) & 0x03) << 14) argument
6859 #define G_028B70_ALPHA_TO_MASK_OFFSET3(x) (((x) >> 14) & 0x03) argument
6861 #define S_028B70_OFFSET_ROUND(x) (((x) & 0x1) << 16) argument
6862 #define G_028B70_OFFSET_ROUND(x) (((x) >> 16) & 0x1) argument
6865 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) & 0xFF) << 0) argument
6866 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
6868 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) & 0x1) << 8) argument
6869 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
6877 #define S_028B90_ENABLE(x) (((x) & 0x1) << 0) argument
6878 #define G_028B90_ENABLE(x) (((x) >> 0) & 0x1) argument
6880 #define S_028B90_CNT(x) (((x) & 0x7F) << 2) argument
6881 #define G_028B90_CNT(x) (((x) >> 2) & 0x7F) argument
6884 #define S_028B94_STREAMOUT_0_EN(x) (((x) & 0x1) << 0) argument
6885 #define G_028B94_STREAMOUT_0_EN(x) (((x) >> 0) & 0x1) argument
6887 #define S_028B94_STREAMOUT_1_EN(x) (((x) & 0x1) << 1) argument
6888 #define G_028B94_STREAMOUT_1_EN(x) (((x) >> 1) & 0x1) argument
6890 #define S_028B94_STREAMOUT_2_EN(x) (((x) & 0x1) << 2) argument
6891 #define G_028B94_STREAMOUT_2_EN(x) (((x) >> 2) & 0x1) argument
6893 #define S_028B94_STREAMOUT_3_EN(x) (((x) & 0x1) << 3) argument
6894 #define G_028B94_STREAMOUT_3_EN(x) (((x) >> 3) & 0x1) argument
6896 #define S_028B94_RAST_STREAM(x) (((x) & 0x07) << 4) argument
6897 #define G_028B94_RAST_STREAM(x) (((x) >> 4) & 0x07) argument
6899 #define S_028B94_RAST_STREAM_MASK(x) (((x) & 0x0F) << 8) argument
6900 #define G_028B94_RAST_STREAM_MASK(x) (((x) >> 8) & 0x0F) argument
6902 #define S_028B94_USE_RAST_STREAM_MASK(x) (((x) & 0x1) << 31) argument
6903 #define G_028B94_USE_RAST_STREAM_MASK(x) (((x) >> 31) & 0x1) argument
6906 #define S_028B98_STREAM_0_BUFFER_EN(x) (((x) & 0x0F) << 0) argument
6907 #define G_028B98_STREAM_0_BUFFER_EN(x) (((x) >> 0) & 0x0F) argument
6909 #define S_028B98_STREAM_1_BUFFER_EN(x) (((x) & 0x0F) << 4) argument
6910 #define G_028B98_STREAM_1_BUFFER_EN(x) (((x) >> 4) & 0x0F) argument
6912 #define S_028B98_STREAM_2_BUFFER_EN(x) (((x) & 0x0F) << 8) argument
6913 #define G_028B98_STREAM_2_BUFFER_EN(x) (((x) >> 8) & 0x0F) argument
6915 #define S_028B98_STREAM_3_BUFFER_EN(x) (((x) & 0x0F) << 12) argument
6916 #define G_028B98_STREAM_3_BUFFER_EN(x) (((x) >> 12) & 0x0F) argument
6919 #define S_028BD4_DISTANCE_0(x) (((x) & 0x0F) << 0) argument
6920 #define G_028BD4_DISTANCE_0(x) (((x) >> 0) & 0x0F) argument
6922 #define S_028BD4_DISTANCE_1(x) (((x) & 0x0F) << 4) argument
6923 #define G_028BD4_DISTANCE_1(x) (((x) >> 4) & 0x0F) argument
6925 #define S_028BD4_DISTANCE_2(x) (((x) & 0x0F) << 8) argument
6926 #define G_028BD4_DISTANCE_2(x) (((x) >> 8) & 0x0F) argument
6928 #define S_028BD4_DISTANCE_3(x) (((x) & 0x0F) << 12) argument
6929 #define G_028BD4_DISTANCE_3(x) (((x) >> 12) & 0x0F) argument
6931 #define S_028BD4_DISTANCE_4(x) (((x) & 0x0F) << 16) argument
6932 #define G_028BD4_DISTANCE_4(x) (((x) >> 16) & 0x0F) argument
6934 #define S_028BD4_DISTANCE_5(x) (((x) & 0x0F) << 20) argument
6935 #define G_028BD4_DISTANCE_5(x) (((x) >> 20) & 0x0F) argument
6937 #define S_028BD4_DISTANCE_6(x) (((x) & 0x0F) << 24) argument
6938 #define G_028BD4_DISTANCE_6(x) (((x) >> 24) & 0x0F) argument
6940 #define S_028BD4_DISTANCE_7(x) (((x) & 0x0F) << 28) argument
6941 #define G_028BD4_DISTANCE_7(x) (((x) >> 28) & 0x0F) argument
6944 #define S_028BD8_DISTANCE_8(x) (((x) & 0x0F) << 0) argument
6945 #define G_028BD8_DISTANCE_8(x) (((x) >> 0) & 0x0F) argument
6947 #define S_028BD8_DISTANCE_9(x) (((x) & 0x0F) << 4) argument
6948 #define G_028BD8_DISTANCE_9(x) (((x) >> 4) & 0x0F) argument
6950 #define S_028BD8_DISTANCE_10(x) (((x) & 0x0F) << 8) argument
6951 #define G_028BD8_DISTANCE_10(x) (((x) >> 8) & 0x0F) argument
6953 #define S_028BD8_DISTANCE_11(x) (((x) & 0x0F) << 12) argument
6954 #define G_028BD8_DISTANCE_11(x) (((x) >> 12) & 0x0F) argument
6956 #define S_028BD8_DISTANCE_12(x) (((x) & 0x0F) << 16) argument
6957 #define G_028BD8_DISTANCE_12(x) (((x) >> 16) & 0x0F) argument
6959 #define S_028BD8_DISTANCE_13(x) (((x) & 0x0F) << 20) argument
6960 #define G_028BD8_DISTANCE_13(x) (((x) >> 20) & 0x0F) argument
6962 #define S_028BD8_DISTANCE_14(x) (((x) & 0x0F) << 24) argument
6963 #define G_028BD8_DISTANCE_14(x) (((x) >> 24) & 0x0F) argument
6965 #define S_028BD8_DISTANCE_15(x) (((x) & 0x0F) << 28) argument
6966 #define G_028BD8_DISTANCE_15(x) (((x) >> 28) & 0x0F) argument
6969 #define S_028BDC_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9) argument
6970 #define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
6972 #define S_028BDC_LAST_PIXEL(x) (((x) & 0x1) << 10) argument
6973 #define G_028BDC_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
6975 #define S_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) & 0x1) << 11) argument
6976 #define G_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) >> 11) & 0x1) argument
6978 #define S_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) & 0x1) << 12) argument
6979 #define G_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) >> 12) & 0x1) argument
6982 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((x) & 0x07) << 0) argument
6983 #define G_028BE0_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x07) argument
6985 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4) argument
6986 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
6988 #define S_028BE0_MAX_SAMPLE_DIST(x) (((x) & 0x0F) << 13) argument
6989 #define G_028BE0_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0x0F) argument
6991 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) & 0x07) << 20) argument
6992 #define G_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) >> 20) & 0x07) argument
6994 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) & 0x03) << 24) argument
6995 #define G_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) >> 24) & 0x03) argument
6998 #define S_028BE4_PIX_CENTER(x) (((x) & 0x1) << 0) argument
6999 #define G_028BE4_PIX_CENTER(x) (((x) >> 0) & 0x1) argument
7001 #define S_028BE4_ROUND_MODE(x) (((x) & 0x03) << 1) argument
7002 #define G_028BE4_ROUND_MODE(x) (((x) >> 1) & 0x03) argument
7008 #define S_028BE4_QUANT_MODE(x) (((x) & 0x07) << 3) argument
7009 #define G_028BE4_QUANT_MODE(x) (((x) >> 3) & 0x07) argument
7024 #define S_028BF8_S0_X(x) (((x) & 0x0F) << 0) argument
7025 #define G_028BF8_S0_X(x) (((x) >> 0) & 0x0F) argument
7027 #define S_028BF8_S0_Y(x) (((x) & 0x0F) << 4) argument
7028 #define G_028BF8_S0_Y(x) (((x) >> 4) & 0x0F) argument
7030 #define S_028BF8_S1_X(x) (((x) & 0x0F) << 8) argument
7031 #define G_028BF8_S1_X(x) (((x) >> 8) & 0x0F) argument
7033 #define S_028BF8_S1_Y(x) (((x) & 0x0F) << 12) argument
7034 #define G_028BF8_S1_Y(x) (((x) >> 12) & 0x0F) argument
7036 #define S_028BF8_S2_X(x) (((x) & 0x0F) << 16) argument
7037 #define G_028BF8_S2_X(x) (((x) >> 16) & 0x0F) argument
7039 #define S_028BF8_S2_Y(x) (((x) & 0x0F) << 20) argument
7040 #define G_028BF8_S2_Y(x) (((x) >> 20) & 0x0F) argument
7042 #define S_028BF8_S3_X(x) (((x) & 0x0F) << 24) argument
7043 #define G_028BF8_S3_X(x) (((x) >> 24) & 0x0F) argument
7045 #define S_028BF8_S3_Y(x) (((x) & 0x0F) << 28) argument
7046 #define G_028BF8_S3_Y(x) (((x) >> 28) & 0x0F) argument
7049 #define S_028BFC_S4_X(x) (((x) & 0x0F) << 0) argument
7050 #define G_028BFC_S4_X(x) (((x) >> 0) & 0x0F) argument
7052 #define S_028BFC_S4_Y(x) (((x) & 0x0F) << 4) argument
7053 #define G_028BFC_S4_Y(x) (((x) >> 4) & 0x0F) argument
7055 #define S_028BFC_S5_X(x) (((x) & 0x0F) << 8) argument
7056 #define G_028BFC_S5_X(x) (((x) >> 8) & 0x0F) argument
7058 #define S_028BFC_S5_Y(x) (((x) & 0x0F) << 12) argument
7059 #define G_028BFC_S5_Y(x) (((x) >> 12) & 0x0F) argument
7061 #define S_028BFC_S6_X(x) (((x) & 0x0F) << 16) argument
7062 #define G_028BFC_S6_X(x) (((x) >> 16) & 0x0F) argument
7064 #define S_028BFC_S6_Y(x) (((x) & 0x0F) << 20) argument
7065 #define G_028BFC_S6_Y(x) (((x) >> 20) & 0x0F) argument
7067 #define S_028BFC_S7_X(x) (((x) & 0x0F) << 24) argument
7068 #define G_028BFC_S7_X(x) (((x) >> 24) & 0x0F) argument
7070 #define S_028BFC_S7_Y(x) (((x) & 0x0F) << 28) argument
7071 #define G_028BFC_S7_Y(x) (((x) >> 28) & 0x0F) argument
7074 #define S_028C00_S8_X(x) (((x) & 0x0F) << 0) argument
7075 #define G_028C00_S8_X(x) (((x) >> 0) & 0x0F) argument
7077 #define S_028C00_S8_Y(x) (((x) & 0x0F) << 4) argument
7078 #define G_028C00_S8_Y(x) (((x) >> 4) & 0x0F) argument
7080 #define S_028C00_S9_X(x) (((x) & 0x0F) << 8) argument
7081 #define G_028C00_S9_X(x) (((x) >> 8) & 0x0F) argument
7083 #define S_028C00_S9_Y(x) (((x) & 0x0F) << 12) argument
7084 #define G_028C00_S9_Y(x) (((x) >> 12) & 0x0F) argument
7086 #define S_028C00_S10_X(x) (((x) & 0x0F) << 16) argument
7087 #define G_028C00_S10_X(x) (((x) >> 16) & 0x0F) argument
7089 #define S_028C00_S10_Y(x) (((x) & 0x0F) << 20) argument
7090 #define G_028C00_S10_Y(x) (((x) >> 20) & 0x0F) argument
7092 #define S_028C00_S11_X(x) (((x) & 0x0F) << 24) argument
7093 #define G_028C00_S11_X(x) (((x) >> 24) & 0x0F) argument
7095 #define S_028C00_S11_Y(x) (((x) & 0x0F) << 28) argument
7096 #define G_028C00_S11_Y(x) (((x) >> 28) & 0x0F) argument
7099 #define S_028C04_S12_X(x) (((x) & 0x0F) << 0) argument
7100 #define G_028C04_S12_X(x) (((x) >> 0) & 0x0F) argument
7102 #define S_028C04_S12_Y(x) (((x) & 0x0F) << 4) argument
7103 #define G_028C04_S12_Y(x) (((x) >> 4) & 0x0F) argument
7105 #define S_028C04_S13_X(x) (((x) & 0x0F) << 8) argument
7106 #define G_028C04_S13_X(x) (((x) >> 8) & 0x0F) argument
7108 #define S_028C04_S13_Y(x) (((x) & 0x0F) << 12) argument
7109 #define G_028C04_S13_Y(x) (((x) >> 12) & 0x0F) argument
7111 #define S_028C04_S14_X(x) (((x) & 0x0F) << 16) argument
7112 #define G_028C04_S14_X(x) (((x) >> 16) & 0x0F) argument
7114 #define S_028C04_S14_Y(x) (((x) & 0x0F) << 20) argument
7115 #define G_028C04_S14_Y(x) (((x) >> 20) & 0x0F) argument
7117 #define S_028C04_S15_X(x) (((x) & 0x0F) << 24) argument
7118 #define G_028C04_S15_X(x) (((x) >> 24) & 0x0F) argument
7120 #define S_028C04_S15_Y(x) (((x) & 0x0F) << 28) argument
7121 #define G_028C04_S15_Y(x) (((x) >> 28) & 0x0F) argument
7124 #define S_028C08_S0_X(x) (((x) & 0x0F) << 0) argument
7125 #define G_028C08_S0_X(x) (((x) >> 0) & 0x0F) argument
7127 #define S_028C08_S0_Y(x) (((x) & 0x0F) << 4) argument
7128 #define G_028C08_S0_Y(x) (((x) >> 4) & 0x0F) argument
7130 #define S_028C08_S1_X(x) (((x) & 0x0F) << 8) argument
7131 #define G_028C08_S1_X(x) (((x) >> 8) & 0x0F) argument
7133 #define S_028C08_S1_Y(x) (((x) & 0x0F) << 12) argument
7134 #define G_028C08_S1_Y(x) (((x) >> 12) & 0x0F) argument
7136 #define S_028C08_S2_X(x) (((x) & 0x0F) << 16) argument
7137 #define G_028C08_S2_X(x) (((x) >> 16) & 0x0F) argument
7139 #define S_028C08_S2_Y(x) (((x) & 0x0F) << 20) argument
7140 #define G_028C08_S2_Y(x) (((x) >> 20) & 0x0F) argument
7142 #define S_028C08_S3_X(x) (((x) & 0x0F) << 24) argument
7143 #define G_028C08_S3_X(x) (((x) >> 24) & 0x0F) argument
7145 #define S_028C08_S3_Y(x) (((x) & 0x0F) << 28) argument
7146 #define G_028C08_S3_Y(x) (((x) >> 28) & 0x0F) argument
7149 #define S_028C0C_S4_X(x) (((x) & 0x0F) << 0) argument
7150 #define G_028C0C_S4_X(x) (((x) >> 0) & 0x0F) argument
7152 #define S_028C0C_S4_Y(x) (((x) & 0x0F) << 4) argument
7153 #define G_028C0C_S4_Y(x) (((x) >> 4) & 0x0F) argument
7155 #define S_028C0C_S5_X(x) (((x) & 0x0F) << 8) argument
7156 #define G_028C0C_S5_X(x) (((x) >> 8) & 0x0F) argument
7158 #define S_028C0C_S5_Y(x) (((x) & 0x0F) << 12) argument
7159 #define G_028C0C_S5_Y(x) (((x) >> 12) & 0x0F) argument
7161 #define S_028C0C_S6_X(x) (((x) & 0x0F) << 16) argument
7162 #define G_028C0C_S6_X(x) (((x) >> 16) & 0x0F) argument
7164 #define S_028C0C_S6_Y(x) (((x) & 0x0F) << 20) argument
7165 #define G_028C0C_S6_Y(x) (((x) >> 20) & 0x0F) argument
7167 #define S_028C0C_S7_X(x) (((x) & 0x0F) << 24) argument
7168 #define G_028C0C_S7_X(x) (((x) >> 24) & 0x0F) argument
7170 #define S_028C0C_S7_Y(x) (((x) & 0x0F) << 28) argument
7171 #define G_028C0C_S7_Y(x) (((x) >> 28) & 0x0F) argument
7174 #define S_028C10_S8_X(x) (((x) & 0x0F) << 0) argument
7175 #define G_028C10_S8_X(x) (((x) >> 0) & 0x0F) argument
7177 #define S_028C10_S8_Y(x) (((x) & 0x0F) << 4) argument
7178 #define G_028C10_S8_Y(x) (((x) >> 4) & 0x0F) argument
7180 #define S_028C10_S9_X(x) (((x) & 0x0F) << 8) argument
7181 #define G_028C10_S9_X(x) (((x) >> 8) & 0x0F) argument
7183 #define S_028C10_S9_Y(x) (((x) & 0x0F) << 12) argument
7184 #define G_028C10_S9_Y(x) (((x) >> 12) & 0x0F) argument
7186 #define S_028C10_S10_X(x) (((x) & 0x0F) << 16) argument
7187 #define G_028C10_S10_X(x) (((x) >> 16) & 0x0F) argument
7189 #define S_028C10_S10_Y(x) (((x) & 0x0F) << 20) argument
7190 #define G_028C10_S10_Y(x) (((x) >> 20) & 0x0F) argument
7192 #define S_028C10_S11_X(x) (((x) & 0x0F) << 24) argument
7193 #define G_028C10_S11_X(x) (((x) >> 24) & 0x0F) argument
7195 #define S_028C10_S11_Y(x) (((x) & 0x0F) << 28) argument
7196 #define G_028C10_S11_Y(x) (((x) >> 28) & 0x0F) argument
7199 #define S_028C14_S12_X(x) (((x) & 0x0F) << 0) argument
7200 #define G_028C14_S12_X(x) (((x) >> 0) & 0x0F) argument
7202 #define S_028C14_S12_Y(x) (((x) & 0x0F) << 4) argument
7203 #define G_028C14_S12_Y(x) (((x) >> 4) & 0x0F) argument
7205 #define S_028C14_S13_X(x) (((x) & 0x0F) << 8) argument
7206 #define G_028C14_S13_X(x) (((x) >> 8) & 0x0F) argument
7208 #define S_028C14_S13_Y(x) (((x) & 0x0F) << 12) argument
7209 #define G_028C14_S13_Y(x) (((x) >> 12) & 0x0F) argument
7211 #define S_028C14_S14_X(x) (((x) & 0x0F) << 16) argument
7212 #define G_028C14_S14_X(x) (((x) >> 16) & 0x0F) argument
7214 #define S_028C14_S14_Y(x) (((x) & 0x0F) << 20) argument
7215 #define G_028C14_S14_Y(x) (((x) >> 20) & 0x0F) argument
7217 #define S_028C14_S15_X(x) (((x) & 0x0F) << 24) argument
7218 #define G_028C14_S15_X(x) (((x) >> 24) & 0x0F) argument
7220 #define S_028C14_S15_Y(x) (((x) & 0x0F) << 28) argument
7221 #define G_028C14_S15_Y(x) (((x) >> 28) & 0x0F) argument
7224 #define S_028C18_S0_X(x) (((x) & 0x0F) << 0) argument
7225 #define G_028C18_S0_X(x) (((x) >> 0) & 0x0F) argument
7227 #define S_028C18_S0_Y(x) (((x) & 0x0F) << 4) argument
7228 #define G_028C18_S0_Y(x) (((x) >> 4) & 0x0F) argument
7230 #define S_028C18_S1_X(x) (((x) & 0x0F) << 8) argument
7231 #define G_028C18_S1_X(x) (((x) >> 8) & 0x0F) argument
7233 #define S_028C18_S1_Y(x) (((x) & 0x0F) << 12) argument
7234 #define G_028C18_S1_Y(x) (((x) >> 12) & 0x0F) argument
7236 #define S_028C18_S2_X(x) (((x) & 0x0F) << 16) argument
7237 #define G_028C18_S2_X(x) (((x) >> 16) & 0x0F) argument
7239 #define S_028C18_S2_Y(x) (((x) & 0x0F) << 20) argument
7240 #define G_028C18_S2_Y(x) (((x) >> 20) & 0x0F) argument
7242 #define S_028C18_S3_X(x) (((x) & 0x0F) << 24) argument
7243 #define G_028C18_S3_X(x) (((x) >> 24) & 0x0F) argument
7245 #define S_028C18_S3_Y(x) (((x) & 0x0F) << 28) argument
7246 #define G_028C18_S3_Y(x) (((x) >> 28) & 0x0F) argument
7249 #define S_028C1C_S4_X(x) (((x) & 0x0F) << 0) argument
7250 #define G_028C1C_S4_X(x) (((x) >> 0) & 0x0F) argument
7252 #define S_028C1C_S4_Y(x) (((x) & 0x0F) << 4) argument
7253 #define G_028C1C_S4_Y(x) (((x) >> 4) & 0x0F) argument
7255 #define S_028C1C_S5_X(x) (((x) & 0x0F) << 8) argument
7256 #define G_028C1C_S5_X(x) (((x) >> 8) & 0x0F) argument
7258 #define S_028C1C_S5_Y(x) (((x) & 0x0F) << 12) argument
7259 #define G_028C1C_S5_Y(x) (((x) >> 12) & 0x0F) argument
7261 #define S_028C1C_S6_X(x) (((x) & 0x0F) << 16) argument
7262 #define G_028C1C_S6_X(x) (((x) >> 16) & 0x0F) argument
7264 #define S_028C1C_S6_Y(x) (((x) & 0x0F) << 20) argument
7265 #define G_028C1C_S6_Y(x) (((x) >> 20) & 0x0F) argument
7267 #define S_028C1C_S7_X(x) (((x) & 0x0F) << 24) argument
7268 #define G_028C1C_S7_X(x) (((x) >> 24) & 0x0F) argument
7270 #define S_028C1C_S7_Y(x) (((x) & 0x0F) << 28) argument
7271 #define G_028C1C_S7_Y(x) (((x) >> 28) & 0x0F) argument
7274 #define S_028C20_S8_X(x) (((x) & 0x0F) << 0) argument
7275 #define G_028C20_S8_X(x) (((x) >> 0) & 0x0F) argument
7277 #define S_028C20_S8_Y(x) (((x) & 0x0F) << 4) argument
7278 #define G_028C20_S8_Y(x) (((x) >> 4) & 0x0F) argument
7280 #define S_028C20_S9_X(x) (((x) & 0x0F) << 8) argument
7281 #define G_028C20_S9_X(x) (((x) >> 8) & 0x0F) argument
7283 #define S_028C20_S9_Y(x) (((x) & 0x0F) << 12) argument
7284 #define G_028C20_S9_Y(x) (((x) >> 12) & 0x0F) argument
7286 #define S_028C20_S10_X(x) (((x) & 0x0F) << 16) argument
7287 #define G_028C20_S10_X(x) (((x) >> 16) & 0x0F) argument
7289 #define S_028C20_S10_Y(x) (((x) & 0x0F) << 20) argument
7290 #define G_028C20_S10_Y(x) (((x) >> 20) & 0x0F) argument
7292 #define S_028C20_S11_X(x) (((x) & 0x0F) << 24) argument
7293 #define G_028C20_S11_X(x) (((x) >> 24) & 0x0F) argument
7295 #define S_028C20_S11_Y(x) (((x) & 0x0F) << 28) argument
7296 #define G_028C20_S11_Y(x) (((x) >> 28) & 0x0F) argument
7299 #define S_028C24_S12_X(x) (((x) & 0x0F) << 0) argument
7300 #define G_028C24_S12_X(x) (((x) >> 0) & 0x0F) argument
7302 #define S_028C24_S12_Y(x) (((x) & 0x0F) << 4) argument
7303 #define G_028C24_S12_Y(x) (((x) >> 4) & 0x0F) argument
7305 #define S_028C24_S13_X(x) (((x) & 0x0F) << 8) argument
7306 #define G_028C24_S13_X(x) (((x) >> 8) & 0x0F) argument
7308 #define S_028C24_S13_Y(x) (((x) & 0x0F) << 12) argument
7309 #define G_028C24_S13_Y(x) (((x) >> 12) & 0x0F) argument
7311 #define S_028C24_S14_X(x) (((x) & 0x0F) << 16) argument
7312 #define G_028C24_S14_X(x) (((x) >> 16) & 0x0F) argument
7314 #define S_028C24_S14_Y(x) (((x) & 0x0F) << 20) argument
7315 #define G_028C24_S14_Y(x) (((x) >> 20) & 0x0F) argument
7317 #define S_028C24_S15_X(x) (((x) & 0x0F) << 24) argument
7318 #define G_028C24_S15_X(x) (((x) >> 24) & 0x0F) argument
7320 #define S_028C24_S15_Y(x) (((x) & 0x0F) << 28) argument
7321 #define G_028C24_S15_Y(x) (((x) >> 28) & 0x0F) argument
7324 #define S_028C28_S0_X(x) (((x) & 0x0F) << 0) argument
7325 #define G_028C28_S0_X(x) (((x) >> 0) & 0x0F) argument
7327 #define S_028C28_S0_Y(x) (((x) & 0x0F) << 4) argument
7328 #define G_028C28_S0_Y(x) (((x) >> 4) & 0x0F) argument
7330 #define S_028C28_S1_X(x) (((x) & 0x0F) << 8) argument
7331 #define G_028C28_S1_X(x) (((x) >> 8) & 0x0F) argument
7333 #define S_028C28_S1_Y(x) (((x) & 0x0F) << 12) argument
7334 #define G_028C28_S1_Y(x) (((x) >> 12) & 0x0F) argument
7336 #define S_028C28_S2_X(x) (((x) & 0x0F) << 16) argument
7337 #define G_028C28_S2_X(x) (((x) >> 16) & 0x0F) argument
7339 #define S_028C28_S2_Y(x) (((x) & 0x0F) << 20) argument
7340 #define G_028C28_S2_Y(x) (((x) >> 20) & 0x0F) argument
7342 #define S_028C28_S3_X(x) (((x) & 0x0F) << 24) argument
7343 #define G_028C28_S3_X(x) (((x) >> 24) & 0x0F) argument
7345 #define S_028C28_S3_Y(x) (((x) & 0x0F) << 28) argument
7346 #define G_028C28_S3_Y(x) (((x) >> 28) & 0x0F) argument
7349 #define S_028C2C_S4_X(x) (((x) & 0x0F) << 0) argument
7350 #define G_028C2C_S4_X(x) (((x) >> 0) & 0x0F) argument
7352 #define S_028C2C_S4_Y(x) (((x) & 0x0F) << 4) argument
7353 #define G_028C2C_S4_Y(x) (((x) >> 4) & 0x0F) argument
7355 #define S_028C2C_S5_X(x) (((x) & 0x0F) << 8) argument
7356 #define G_028C2C_S5_X(x) (((x) >> 8) & 0x0F) argument
7358 #define S_028C2C_S5_Y(x) (((x) & 0x0F) << 12) argument
7359 #define G_028C2C_S5_Y(x) (((x) >> 12) & 0x0F) argument
7361 #define S_028C2C_S6_X(x) (((x) & 0x0F) << 16) argument
7362 #define G_028C2C_S6_X(x) (((x) >> 16) & 0x0F) argument
7364 #define S_028C2C_S6_Y(x) (((x) & 0x0F) << 20) argument
7365 #define G_028C2C_S6_Y(x) (((x) >> 20) & 0x0F) argument
7367 #define S_028C2C_S7_X(x) (((x) & 0x0F) << 24) argument
7368 #define G_028C2C_S7_X(x) (((x) >> 24) & 0x0F) argument
7370 #define S_028C2C_S7_Y(x) (((x) & 0x0F) << 28) argument
7371 #define G_028C2C_S7_Y(x) (((x) >> 28) & 0x0F) argument
7374 #define S_028C30_S8_X(x) (((x) & 0x0F) << 0) argument
7375 #define G_028C30_S8_X(x) (((x) >> 0) & 0x0F) argument
7377 #define S_028C30_S8_Y(x) (((x) & 0x0F) << 4) argument
7378 #define G_028C30_S8_Y(x) (((x) >> 4) & 0x0F) argument
7380 #define S_028C30_S9_X(x) (((x) & 0x0F) << 8) argument
7381 #define G_028C30_S9_X(x) (((x) >> 8) & 0x0F) argument
7383 #define S_028C30_S9_Y(x) (((x) & 0x0F) << 12) argument
7384 #define G_028C30_S9_Y(x) (((x) >> 12) & 0x0F) argument
7386 #define S_028C30_S10_X(x) (((x) & 0x0F) << 16) argument
7387 #define G_028C30_S10_X(x) (((x) >> 16) & 0x0F) argument
7389 #define S_028C30_S10_Y(x) (((x) & 0x0F) << 20) argument
7390 #define G_028C30_S10_Y(x) (((x) >> 20) & 0x0F) argument
7392 #define S_028C30_S11_X(x) (((x) & 0x0F) << 24) argument
7393 #define G_028C30_S11_X(x) (((x) >> 24) & 0x0F) argument
7395 #define S_028C30_S11_Y(x) (((x) & 0x0F) << 28) argument
7396 #define G_028C30_S11_Y(x) (((x) >> 28) & 0x0F) argument
7399 #define S_028C34_S12_X(x) (((x) & 0x0F) << 0) argument
7400 #define G_028C34_S12_X(x) (((x) >> 0) & 0x0F) argument
7402 #define S_028C34_S12_Y(x) (((x) & 0x0F) << 4) argument
7403 #define G_028C34_S12_Y(x) (((x) >> 4) & 0x0F) argument
7405 #define S_028C34_S13_X(x) (((x) & 0x0F) << 8) argument
7406 #define G_028C34_S13_X(x) (((x) >> 8) & 0x0F) argument
7408 #define S_028C34_S13_Y(x) (((x) & 0x0F) << 12) argument
7409 #define G_028C34_S13_Y(x) (((x) >> 12) & 0x0F) argument
7411 #define S_028C34_S14_X(x) (((x) & 0x0F) << 16) argument
7412 #define G_028C34_S14_X(x) (((x) >> 16) & 0x0F) argument
7414 #define S_028C34_S14_Y(x) (((x) & 0x0F) << 20) argument
7415 #define G_028C34_S14_Y(x) (((x) >> 20) & 0x0F) argument
7417 #define S_028C34_S15_X(x) (((x) & 0x0F) << 24) argument
7418 #define G_028C34_S15_X(x) (((x) >> 24) & 0x0F) argument
7420 #define S_028C34_S15_Y(x) (((x) & 0x0F) << 28) argument
7421 #define G_028C34_S15_Y(x) (((x) >> 28) & 0x0F) argument
7424 #define S_028C38_AA_MASK_X0Y0(x) (((x) & 0xFFFF) << 0) argument
7425 #define G_028C38_AA_MASK_X0Y0(x) (((x) >> 0) & 0xFFFF) argument
7427 #define S_028C38_AA_MASK_X1Y0(x) (((x) & 0xFFFF) << 16) argument
7428 #define G_028C38_AA_MASK_X1Y0(x) (((x) >> 16) & 0xFFFF) argument
7431 #define S_028C3C_AA_MASK_X0Y1(x) (((x) & 0xFFFF) << 0) argument
7432 #define G_028C3C_AA_MASK_X0Y1(x) (((x) >> 0) & 0xFFFF) argument
7434 #define S_028C3C_AA_MASK_X1Y1(x) (((x) & 0xFFFF) << 16) argument
7435 #define G_028C3C_AA_MASK_X1Y1(x) (((x) >> 16) & 0xFFFF) argument
7438 #define S_028C58_VTX_REUSE_DEPTH(x) (((x) & 0xFF) << 0) argument
7439 #define G_028C58_VTX_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
7442 #define S_028C5C_DEALLOC_DIST(x) (((x) & 0x7F) << 0) argument
7443 #define G_028C5C_DEALLOC_DIST(x) (((x) >> 0) & 0x7F) argument
7447 #define S_028C64_TILE_MAX(x) (((x) & 0x7FF) << 0) argument
7448 #define G_028C64_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
7451 #define S_028C68_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
7452 #define G_028C68_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
7455 #define S_028C6C_SLICE_START(x) (((x) & 0x7FF) << 0) argument
7456 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
7458 #define S_028C6C_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
7459 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
7462 #define S_028C70_ENDIAN(x) (((x) & 0x03) << 0) argument
7463 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x03) argument
7469 #define S_028C70_FORMAT(x) (((x) & 0x1F) << 2) argument
7470 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x1F) argument
7493 #define S_028C70_LINEAR_GENERAL(x) (((x) & 0x1) << 7) argument
7494 #define G_028C70_LINEAR_GENERAL(x) (((x) >> 7) & 0x1) argument
7496 #define S_028C70_NUMBER_TYPE(x) (((x) & 0x07) << 8) argument
7497 #define G_028C70_NUMBER_TYPE(x) (((x) >> 8) & 0x07) argument
7505 #define S_028C70_COMP_SWAP(x) (((x) & 0x03) << 11) argument
7506 #define G_028C70_COMP_SWAP(x) (((x) >> 11) & 0x03) argument
7512 #define S_028C70_FAST_CLEAR(x) (((x) & 0x1) << 13) argument
7513 #define G_028C70_FAST_CLEAR(x) (((x) >> 13) & 0x1) argument
7515 #define S_028C70_COMPRESSION(x) (((x) & 0x1) << 14) argument
7516 #define G_028C70_COMPRESSION(x) (((x) >> 14) & 0x1) argument
7518 #define S_028C70_BLEND_CLAMP(x) (((x) & 0x1) << 15) argument
7519 #define G_028C70_BLEND_CLAMP(x) (((x) >> 15) & 0x1) argument
7521 #define S_028C70_BLEND_BYPASS(x) (((x) & 0x1) << 16) argument
7522 #define G_028C70_BLEND_BYPASS(x) (((x) >> 16) & 0x1) argument
7524 #define S_028C70_SIMPLE_FLOAT(x) (((x) & 0x1) << 17) argument
7525 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 17) & 0x1) argument
7527 #define S_028C70_ROUND_MODE(x) (((x) & 0x1) << 18) argument
7528 #define G_028C70_ROUND_MODE(x) (((x) >> 18) & 0x1) argument
7530 #define S_028C70_CMASK_IS_LINEAR(x) (((x) & 0x1) << 19) argument
7531 #define G_028C70_CMASK_IS_LINEAR(x) (((x) >> 19) & 0x1) argument
7533 #define S_028C70_BLEND_OPT_DONT_RD_DST(x) (((x) & 0x07) << 20) argument
7534 #define G_028C70_BLEND_OPT_DONT_RD_DST(x) (((x) >> 20) & 0x07) argument
7544 #define S_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((x) & 0x07) << 23) argument
7545 #define G_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((x) >> 23) & 0x07) argument
7556 #define S_028C74_TILE_MODE_INDEX(x) (((x) & 0x1F) << 0) argument
7557 #define G_028C74_TILE_MODE_INDEX(x) (((x) >> 0) & 0x1F) argument
7559 #define S_028C74_FMASK_TILE_MODE_INDEX(x) (((x) & 0x1F) << 5) argument
7560 #define G_028C74_FMASK_TILE_MODE_INDEX(x) (((x) >> 5) & 0x1F) argument
7562 #define S_028C74_NUM_SAMPLES(x) (((x) & 0x07) << 12) argument
7563 #define G_028C74_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
7565 #define S_028C74_NUM_FRAGMENTS(x) (((x) & 0x03) << 15) argument
7566 #define G_028C74_NUM_FRAGMENTS(x) (((x) >> 15) & 0x03) argument
7568 #define S_028C74_FORCE_DST_ALPHA_1(x) (((x) & 0x1) << 17) argument
7569 #define G_028C74_FORCE_DST_ALPHA_1(x) (((x) >> 17) & 0x1) argument
7573 #define S_028C80_TILE_MAX(x) (((x) & 0x3FFF) << 0) argument
7574 #define G_028C80_TILE_MAX(x) (((x) >> 0) & 0x3FFF) argument
7578 #define S_028C88_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
7579 #define G_028C88_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument