Lines Matching defs:x
54 #define EVENT_TYPE(x) ((x) << 0) argument
55 #define EVENT_INDEX(x) ((x) << 8) argument
108 #define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) argument
109 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
111 #define PKT_COUNT_S(x) (((unsigned)(x) & 0x3FFF) << 16) argument
112 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
114 #define PKT0_BASE_INDEX_S(x) (((unsigned)(x) & 0xFFFF) << 0) argument
115 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
117 #define PKT3_IT_OPCODE_S(x) (((unsigned)(x) & 0xFF) << 8) argument
118 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
120 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1) argument
132 #define PKT3_CP_DMA_SRC_SEL(x) ((x) << 29) argument
137 #define PKT3_CP_DMA_DST_SEL(x) ((x) << 20) argument
142 #define PKT3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) argument
148 #define PKT3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) argument
167 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
173 #define S_008C00_VC_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
174 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
175 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
176 #define S_008C00_EXPORT_SRC_C(x) (((unsigned)(x) & 0x1) << 1) argument
177 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
178 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
180 #define S_008C00_CS_PRIO(x) (((unsigned)(x) & 0x3) << 18) argument
181 #define G_008C00_CS_PRIO(x) (((x) >> 18) & 0x3) argument
182 #define C_008C00_CS_PRIO(x) 0xFFF3FFFF argument
183 #define S_008C00_LS_PRIO(x) (((unsigned)(x) & 0x3) << 20) argument
184 #define G_008C00_LS_PRIO(x) (((x) >> 20) & 0x3) argument
185 #define C_008C00_LS_PRIO(x) 0xFFCFFFFF argument
186 #define S_008C00_HS_PRIO(x) (((unsigned)(x) & 0x3) << 22) argument
187 #define G_008C00_HS_PRIO(x) (((x) >> 22) & 0x3) argument
188 #define C_008C00_HS_PRIO(x) 0xFF3FFFFF argument
189 #define S_008C00_PS_PRIO(x) (((unsigned)(x) & 0x3) << 24) argument
190 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
191 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
192 #define S_008C00_VS_PRIO(x) (((unsigned)(x) & 0x3) << 26) argument
193 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
194 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
195 #define S_008C00_GS_PRIO(x) (((unsigned)(x) & 0x3) << 28) argument
196 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
197 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
198 #define S_008C00_ES_PRIO(x) (((unsigned)(x) & 0x3) << 30) argument
199 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
200 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
202 #define S_008C04_NUM_PS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
203 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
204 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
205 #define S_008C04_NUM_VS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
206 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
207 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
208 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((unsigned)(x) & 0xF) << 28) argument
209 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
210 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
212 #define S_008C08_NUM_GS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
213 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
214 #define C_008C08_NUM_GS_GPRS(x) 0xFFFFFF00 argument
215 #define S_008C08_NUM_ES_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
216 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
217 #define C_008C08_NUM_ES_GPRS(x) 0xFF00FFFF argument
219 #define S_008C0C_NUM_HS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
220 #define G_008C0C_NUM_HS_GPRS(x) (((x) >> 0) & 0xFF) argument
221 #define C_008C0C_NUM_HS_GPRS(x) 0xFFFFFF00 argument
222 #define S_008C0C_NUM_LS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
223 #define G_008C0C_NUM_LS_GPRS(x) (((x) >> 16) & 0xFF) argument
224 #define C_008C0C_NUM_LS_GPRS(x) 0xFF00FFFF argument
230 #define S_008C18_NUM_PS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
231 #define G_008C18_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
232 #define C_008C18_NUM_PS_THREADS(x) 0xFFFFFF00 argument
233 #define S_008C18_NUM_VS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
234 #define G_008C18_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
235 #define C_008C18_NUM_VS_THREADS(x) 0xFFFF00FF argument
236 #define S_008C18_NUM_GS_THREADS(x) (((unsigned)(x) & 0xFF) << 16) argument
237 #define G_008C18_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
238 #define C_008C18_NUM_GS_THREADS(x) 0xFF00FFFF argument
239 #define S_008C18_NUM_ES_THREADS(x) (((unsigned)(x) & 0xFF) << 24) argument
240 #define G_008C18_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
241 #define C_008C18_NUM_ES_THREADS(x) 0x00FFFFFF argument
243 #define S_008C1C_NUM_HS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
244 #define G_008C1C_NUM_HS_THREADS(x) (((x) >> 0) & 0xFF) argument
245 #define C_008C1C_NUM_HS_THREADS(x) 0xFFFFFF00 argument
246 #define S_008C1C_NUM_LS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
247 #define G_008C1C_NUM_LS_THREADS(x) (((x) >> 8) & 0xFF) argument
248 #define C_008C1C_NUM_LS_THREADS(x) 0xFFFF00FF argument
250 #define S_008C20_NUM_PS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
251 #define G_008C20_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
252 #define C_008C20_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
253 #define S_008C20_NUM_VS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
254 #define G_008C20_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
255 #define C_008C20_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
257 #define S_008C24_NUM_GS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
258 #define G_008C24_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
259 #define C_008C24_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
260 #define S_008C24_NUM_ES_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
261 #define G_008C24_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
262 #define C_008C24_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
264 #define S_008C28_NUM_HS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
265 #define G_008C28_NUM_HS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
266 #define C_008C28_NUM_HS_STACK_ENTRIES(x) 0xFFFFF000 argument
267 #define S_008C28_NUM_LS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
268 #define G_008C28_NUM_LS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
269 #define C_008C28_NUM_LS_STACK_ENTRIES(x) 0xF000FFFF argument
271 #define S_008E2C_NUM_PS_LDS(x) (((unsigned)(x) & 0xFFFF) << 0) argument
272 #define G_008E2C_NUM_PS_LDS(x) (((x) >> 0) & 0xFFFF) argument
273 #define C_008E2C_NUM_PS_LDS(x) 0x0000FFFF argument
274 #define S_008E2C_NUM_LS_LDS(x) (((unsigned)(x) & 0xFFFF) << 16) argument
275 #define G_008E2C_NUM_LS_LDS(x) (((x) >> 16) & 0xFFFF) argument
276 #define C_008E2C_NUM_LS_LDS(x) 0xFFFF0000 argument
284 #define S_008CF0_CACHE_FIFO_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
285 #define G_008CF0_CACHE_FIFO_SIZE(x) (((x) >> 0) & 0xFF) argument
286 #define C_008CF0_CACHE_FIFO_SIZE(x) 0xFFFFFF00 argument
287 #define S_008CF0_FETCH_FIFO_HIWATER(x) (((unsigned)(x) & 0x1F) << 8) argument
288 #define G_008CF0_FETCH_FIFO_HIWATER(x) (((x) >> 8) & 0x1F) argument
289 #define C_008CF0_FETCH_FIFO_HIWATER(x) 0xFFFFE0FF argument
290 #define S_008CF0_DONE_FIFO_HIWATER(x) (((unsigned)(x) & 0xFF) << 16) argument
291 #define G_008CF0_DONE_FIFO_HIWATER(x) (((x) >> 16) & 0xFF) argument
292 #define C_008CF0_DONE_FIFO_HIWATER(x) 0xFF00FFFF argument
293 #define S_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((unsigned)(x) & 0x1F) << 24) argument
294 #define G_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((x) >> 24) & 0x1F) argument
295 #define C_008CF0_ALU_UPDATE_FIFO_HIWATER(x) 0xE0FFFFFF argument
308 #define S_00913C_VTX_DONE_DELAY(x) (((unsigned)(x) & 0xF) << 0) argument
309 #define G_00913C_VTX_DONE_DELAY(x) (((x) >> 0) & 0xF ) argument
310 #define C_00913C_VTX_DONE_DELAY(x) 0xFFFFFFF0 argument
314 #define S_028C64_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
315 #define G_028C64_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
318 #define S_028C68_SLICE_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
319 #define G_028C68_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
322 #define S_028C70_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
323 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x3) argument
325 #define S_028C70_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
326 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x3F) argument
363 #define S_028C70_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
364 #define G_028C70_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
370 #define S_028C70_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
371 #define G_028C70_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
381 #define S_028C70_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 15) argument
382 #define G_028C70_COMP_SWAP(x) (((x) >> 15) & 0x3) argument
388 #define S_028C70_FAST_CLEAR(x) (((unsigned)(x) & 0x1) << 17) argument
389 #define G_028C70_FAST_CLEAR(x) (((x) >> 17) & 0x1) argument
391 #define S_028C70_COMPRESSION(x) (((unsigned)(x) & 0x3) << 18) argument
392 #define G_028C70_COMPRESSION(x) (((x) >> 18) & 0x3) argument
394 #define S_028C70_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 19) argument
395 #define G_028C70_BLEND_CLAMP(x) (((x) >> 19) & 0x1) argument
397 #define S_028C70_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 20) argument
398 #define G_028C70_BLEND_BYPASS(x) (((x) >> 20) & 0x1) argument
400 #define S_028C70_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 21) argument
401 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 21) & 0x1) argument
403 #define S_028C70_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
404 #define G_028C70_ROUND_MODE(x) (((x) >> 22) & 0x1) argument
406 #define S_028C70_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 23) argument
407 #define G_028C70_TILE_COMPACT(x) (((x) >> 23) & 0x1) argument
409 #define S_028C70_SOURCE_FORMAT(x) (((unsigned)(x) & 0x3) << 24) argument
410 #define G_028C70_SOURCE_FORMAT(x) (((x) >> 24) & 0x3) argument
415 #define S_028C70_RAT(x) (((unsigned)(x) & 0x1) << 26) argument
416 #define G_028C70_RAT(x) (((x) >> 26) & 0x1) argument
419 #define S_028C70_RESOURCE_TYPE(x) (((unsigned)(x) & 0x7) << 27) argument
420 #define G_028C70_RESOURCE_TYPE(x) (((x) >> 27) & 0x7) argument
430 #define S_028C74_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x1) << 4) argument
431 #define G_028C74_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x1) argument
433 #define S_028C74_TILE_SPLIT(x) (((unsigned)(x) & 0xf) << 5) argument
434 #define S_028C74_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 10) argument
435 #define S_028C74_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 13) argument
436 #define S_028C74_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 16) argument
437 #define S_028C74_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 19) argument
438 #define S_028C74_FMASK_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 22) argument
439 #define S_028C74_NUM_SAMPLES(x) (((unsigned)(x) & 0x7) << 24) /* cayman only… argument
440 #define S_028C74_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x3) << 27) /* cayman only… argument
441 #define S_028C74_FORCE_DST_ALPHA_1(x) (((unsigned)(x) & 0x1) << 31) /* cayman only… argument
444 #define S_028C78_WIDTH_MAX(x) (((unsigned)(x) & 0xFFFF) << 0) argument
445 #define G_028C78_WIDTH_MAX(x) (((x) >> 0) & 0xFFFF) argument
447 #define S_028C78_HEIGHT_MAX(x) (((unsigned)(x) & 0xFFFF) << 16) argument
448 #define G_028C78_HEIGHT_MAX(x) (((x) >> 16) & 0xFFFF) argument
454 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
455 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
457 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
458 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
460 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
461 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
468 #define S_028B6C_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
469 #define G_028B6C_TYPE(x) (((x) >> 0) & 0x03) argument
474 #define S_028B6C_PARTITIONING(x) (((unsigned)(x) & 0x07) << 2) argument
475 #define G_028B6C_PARTITIONING(x) (((x) >> 2) & 0x07) argument
481 #define S_028B6C_TOPOLOGY(x) (((unsigned)(x) & 0x07) << 5) argument
482 #define G_028B6C_TOPOLOGY(x) (((x) >> 5) & 0x07) argument
488 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((unsigned)(x) & 0x1) << 8) argument
489 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1) argument
491 #define S_028B6C_BUFFER_ACCESS_MODE(x) (((unsigned)(x) & 0x1) << 9) argument
492 #define G_028B6C_BUFFER_ACCESS_MODE(x) (((x) >> 9) & 0x1) argument
496 #define S_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((unsigned)(x) & 0xf) << 10) argument
497 #define G_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((x) >> 10) & 0xF) argument
503 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
504 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
506 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
507 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
509 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
510 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
512 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
513 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
515 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
516 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
518 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
519 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
529 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
530 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
540 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
541 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
543 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
544 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
546 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
547 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
549 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
550 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
552 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
553 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
555 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
556 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
560 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
561 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
563 #define S_028808_MODE(x) (((unsigned)(x) & 0x7) << 4) argument
564 #define G_028808_MODE(x) (((x) >> 4) & 0x7) argument
572 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
573 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
576 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
577 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
579 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
580 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
582 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
583 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
585 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
586 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
588 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
589 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
591 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
592 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
594 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
595 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
597 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x3) << 14) argument
598 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
600 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
601 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
603 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
604 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
606 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
607 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
609 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
610 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
612 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
613 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
615 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
616 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
618 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) argument
619 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
621 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
622 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
624 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
625 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
627 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
628 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
630 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
631 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
635 #define S_028040_FORMAT(x) (((unsigned)(x) & 0x3) << 0) argument
636 #define G_028040_FORMAT(x) (((x) >> 0) & 0x3) argument
642 #define S_028040_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 2) /* cayman only … argument
643 #define S_028040_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 4) argument
644 #define G_028040_ARRAY_MODE(x) (((x) >> 4) & 0xF) argument
646 #define S_028040_READ_SIZE(x) (((unsigned)(x) & 0x1) << 28) argument
647 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1) argument
649 #define S_028040_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 29) argument
650 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
652 #define S_028040_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
653 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
655 #define S_028040_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 8) argument
656 #define S_028040_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 12) argument
657 #define S_028040_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 16) argument
658 #define S_028040_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 20) argument
659 #define S_028040_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 24) argument
662 #define S_028044_FORMAT(x) (((unsigned)(x) & 0x1) << 0) argument
665 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) argument
667 #define S_028044_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 8) argument
670 #define S_028058_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
671 #define G_028058_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
673 #define S_028058_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 11) argument
674 #define G_028058_HEIGHT_TILE_MAX(x) (((x) >> 11) & 0x7FF) argument
678 #define S_02805C_SLICE_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
679 #define G_02805C_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
683 #define S_028430_STENCILREF(x) (((unsigned)(x) & 0xFF) << 0) argument
684 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
686 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
687 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
689 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
690 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
693 #define S_028434_STENCILREF_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
694 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
696 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
697 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
699 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
700 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
703 #define S_028780_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
704 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
727 #define S_028780_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x7) << 5) argument
728 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
735 #define S_028780_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
736 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
738 #define S_028780_OPACITY_WEIGHT(x) (((unsigned)(x) & 0x1) << 13) argument
739 #define G_028780_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
741 #define S_028780_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
742 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
744 #define S_028780_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x7) << 21) argument
745 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
747 #define S_028780_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
748 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
750 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
751 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
753 #define S_028780_BLEND_CONTROL_ENABLE(x) (((unsigned)(x) & 0x1) << 30) argument
754 #define G_028780_BLEND_CONTROL_ENABLE(x) (((x) >> 30) & 0x1) argument
757 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
758 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
760 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
761 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
763 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
764 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
766 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
767 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
769 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x7) << 5) argument
770 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
772 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x7) << 8) argument
773 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
775 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
776 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
778 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
779 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
781 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
782 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
784 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
785 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
787 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
788 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
790 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
791 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
793 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
794 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
798 #define S_028ABC_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
799 #define G_028ABC_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
801 #define S_028ABC_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
802 #define G_028ABC_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
804 #define S_028ABC_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
805 #define G_028ABC_LINEAR(x) (((x) >> 2) & 0x1) argument
807 #define S_028ABC_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
808 #define G_028ABC_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
810 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
811 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
813 #define S_028ABC_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
814 #define G_028ABC_PRELOAD(x) (((x) >> 5) & 0x1) argument
816 #define S_028ABC_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
817 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
819 #define S_028ABC_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
820 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
823 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
824 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
826 #define S_02880C_STENCIL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
827 #define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
829 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
830 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
836 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
837 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
839 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
840 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
842 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 9) argument
843 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
845 #define S_02880C_DB_SOURCE_FORMAT(x) (((unsigned)(x) & 0x3) << 13) argument
846 #define G_02880C_DB_SOURCE_FORMAT(x) (((x) >> 13) & 0x3) argument
851 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
852 #define S_02880C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 16) argument
853 #define G_02880C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 16) & 0x03) argument
861 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << 0) argument
862 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
864 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 16) argument
865 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
868 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << 0) argument
869 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
870 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
871 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x3) << 29) argument
873 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
874 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
882 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
883 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
885 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
886 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
892 #define S_028A40_COMPUTE_MODE(x) (x << 14) argument
893 #define S_028A40_PARTIAL_THD_AT_EOI(x) (x << 17) argument
895 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
900 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
901 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
903 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
904 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
906 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
907 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
909 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
910 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
912 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
913 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
915 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
916 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
918 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
919 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
921 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
922 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
927 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
928 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
930 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
931 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
933 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
934 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
936 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
937 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
939 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
940 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
942 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
943 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
945 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
946 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
948 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
949 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
952 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
953 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
955 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
956 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
958 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
959 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
961 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
962 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
964 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
965 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
967 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
968 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
970 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
971 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
974 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
975 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
977 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
978 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
980 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
981 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
983 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
984 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
988 #define S_0286E0_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x3) << 0) argument
989 #define G_0286E0_PERSP_CENTER_ENA(x) (((x) >> 0) & 0x3) argument
991 #define S_0286E0_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x3) << 4) argument
992 #define G_0286E0_PERSP_CENTROID_ENA(x) (((x) >> 4) & 0x3) argument
994 #define S_0286E0_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x3) << 8) argument
995 #define G_0286E0_PERSP_SAMPLE_ENA(x) (((x) >> 8) & 0x3) argument
997 #define S_0286E0_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x3) << 12) argument
998 #define G_0286E0_PERSP_PULL_MODEL_ENA(x) (((x) >> 12) & 0x3) argument
1000 #define S_0286E0_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x3) << 16) argument
1001 #define G_0286E0_LINEAR_CENTER_ENA(x) (((x) >> 16) & 0x3) argument
1003 #define S_0286E0_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x3) << 20) argument
1004 #define G_0286E0_LINEAR_CENTROID_ENA(x) (((x) >> 20) & 0x3) argument
1006 #define S_0286E0_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x3) << 24) argument
1007 #define G_0286E0_LINEAR_SAMPLE_ENA(x) (((x) >> 24) & 0x3) argument
1013 #define S_028250_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1014 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1016 #define S_028250_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1017 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1019 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1020 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1023 #define S_028254_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1024 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1026 #define S_028254_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1027 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1031 #define S_028240_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1032 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1034 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1035 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1037 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1038 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1041 #define S_028244_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1042 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1044 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1045 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1049 #define S_028030_TL_X(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1050 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
1052 #define S_028030_TL_Y(x) (((unsigned)(x) & 0xFFFF) << 16) argument
1053 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
1056 #define S_028034_BR_X(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1057 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
1059 #define S_028034_BR_Y(x) (((unsigned)(x) & 0xFFFF) << 16) argument
1060 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
1064 #define S_028204_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1065 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1067 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1068 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1070 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1071 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1074 #define S_028208_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1075 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1077 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1078 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1082 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
1083 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
1085 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
1086 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
1088 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
1089 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
1091 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
1092 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
1094 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
1095 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
1099 #define S_030000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
1100 #define G_030000_DIM(x) (((x) >> 0) & 0x7) argument
1110 #define S_030000_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x1) << 5) argument
1111 #define G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 5) & 0x1) argument
1113 #define CM_S_030000_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
1114 #define CM_G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x3) argument
1116 #define S_030000_PITCH(x) (((unsigned)(x) & 0xFFF) << 6) argument
1117 #define G_030000_PITCH(x) (((x) >> 6) & 0xFFF) argument
1119 #define S_030000_TEX_WIDTH(x) (((unsigned)(x) & 0x3FFF) << 18) argument
1120 #define G_030000_TEX_WIDTH(x) (((x) >> 18) & 0x3FFF) argument
1123 #define S_030004_TEX_HEIGHT(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1124 #define G_030004_TEX_HEIGHT(x) (((x) >> 0) & 0x3FFF) argument
1126 #define S_030004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 14) argument
1127 #define G_030004_TEX_DEPTH(x) (((x) >> 14) & 0x1FFF) argument
1129 #define S_030004_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 28) argument
1130 #define G_030004_ARRAY_MODE(x) (((x) >> 28) & 0xF) argument
1133 #define S_030008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1134 #define G_030008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1137 #define S_03000C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1138 #define G_03000C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1141 #define S_030010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
1142 #define G_030010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1147 #define S_030010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
1148 #define G_030010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1150 #define S_030010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
1151 #define G_030010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1153 #define S_030010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
1154 #define G_030010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1156 #define S_030010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
1157 #define G_030010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1162 #define S_030010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
1163 #define G_030010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1167 #define S_030010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
1168 #define G_030010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1170 #define S_030010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
1171 #define G_030010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1173 #define S_030010_LOG2_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x3) << 14) /* cayman only… argument
1174 #define S_030010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
1175 #define G_030010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1183 #define S_030010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
1184 #define G_030010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1186 #define S_030010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
1187 #define G_030010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1189 #define S_030010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
1190 #define G_030010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1192 #define S_030010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
1193 #define G_030010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1196 #define S_030014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
1197 #define G_030014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1199 #define S_030014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
1200 #define G_030014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1202 #define S_030014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
1203 #define G_030014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1208 #define S_030018_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 0) argument
1209 #define G_030018_MAX_ANISO_RATIO(x) (((x) >> 0) & 0x7) argument
1211 #define S_030018_FMASK_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 0) argument
1212 #define S_030018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 3) argument
1213 #define G_030018_PERF_MODULATION(x) (((x) >> 3) & 0x7) argument
1215 #define S_030018_INTERLACED(x) (((unsigned)(x) & 0x1) << 6) argument
1216 #define G_030018_INTERLACED(x) (((x) >> 6) & 0x1) argument
1218 #define S_030018_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 29) argument
1220 #define S_03001C_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 0) argument
1221 #define G_03001C_DATA_FORMAT(x) (((x) >> 0) & 0x3F) argument
1223 #define S_03001C_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 6) argument
1224 #define S_03001C_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 8) argument
1225 #define S_03001C_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 10) argument
1226 #define S_03001C_DEPTH_SAMPLE_ORDER(x) (((unsigned)(x) & 0x1) << 15) argument
1227 #define S_03001C_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 16) argument
1228 #define S_03001C_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
1229 #define G_03001C_TYPE(x) (((x) >> 30) & 0x3) argument
1237 #define S_030008_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1238 #define G_030008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1240 #define S_030008_STRIDE(x) (((unsigned)(x) & 0x7FF) << 8) argument
1241 #define G_030008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1243 #define S_030008_CLAMP_X(x) (((unsigned)(x) & 0x1) << 19) argument
1244 #define G_030008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1246 #define S_030008_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 20) argument
1247 #define G_030008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1249 #define S_030008_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 26) argument
1250 #define G_030008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1255 #define S_030008_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 28) argument
1256 #define G_030008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1258 #define S_030008_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 29) argument
1259 #define G_030008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1261 #define S_030008_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 30) argument
1262 #define G_030008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1266 #define S_03000C_UNCACHED(x) (((unsigned)(x) & 0x1) << 2) argument
1267 #define S_03000C_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 3) argument
1268 #define G_03000C_DST_SEL_X(x) (((x) >> 3) & 0x7) argument
1275 #define S_03000C_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 6) argument
1276 #define G_03000C_DST_SEL_Y(x) (((x) >> 6) & 0x7) argument
1277 #define S_03000C_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 9) argument
1278 #define G_03000C_DST_SEL_Z(x) (((x) >> 9) & 0x7) argument
1279 #define S_03000C_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 12) argument
1280 #define G_03000C_DST_SEL_W(x) (((x) >> 12) & 0x7) argument
1314 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
1315 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1325 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
1326 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1328 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
1329 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1331 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x3) << 9) argument
1332 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x3) argument
1336 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x3) << 11) argument
1337 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 11) & 0x3) argument
1339 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 13) argument
1340 #define G_03C000_Z_FILTER(x) (((x) >> 13) & 0x3) argument
1345 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
1346 #define G_03C000_MIP_FILTER(x) (((x) >> 15) & 0x3) argument
1348 #define S_03C000_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 17) argument
1349 #define G_03C000_MAX_ANISO_RATIO(x) (((x) >> 17) & 0x7) argument
1351 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 20) argument
1352 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 20) & 0x3) argument
1358 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 22) argument
1359 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 22) & 0x7) argument
1369 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 25) argument
1370 #define G_03C000_CHROMA_KEY(x) (((x) >> 25) & 0x3) argument
1377 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 0) argument
1378 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
1380 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0xFFF) << 12) argument
1381 #define G_03C004_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
1384 #define S_03C004_PERF_MIP(x) (((unsigned)(x) & 0xF) << 24) argument
1385 #define G_03C004_PERF_MIP(x) (((x) >> 24) & 0xF) argument
1387 #define S_03C004_PERF_Z(x) (((unsigned)(x) & 0xF) << 28) argument
1388 #define G_03C004_PERF_Z(x) (((x) >> 24) & 0xF) argument
1392 #define S_03C008_LOD_BIAS(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1393 #define G_03C008_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
1395 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0x3F) << 14) argument
1396 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
1398 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 20) argument
1399 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 20) & 0x1) argument
1401 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 21) argument
1402 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 21) & 0x1) argument
1404 #define S_03C008_ANISO_BIAS(x) (((unsigned)(x) & 0x3f) << 22) argument
1405 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1407 #define S_03C008_TRUNCATE_COORD(x) (((unsigned)(x) & 0x1) << 28) argument
1408 #define G_03C008_TRUNCATE_COORD(x) (((x) >> 28) & 0x1) argument
1410 #define S_03C008_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 29) argument
1411 #define G_03C008_DISABLE_CUBE_WRAP(x) (((x) >> 29) & 0x1) argument
1413 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
1414 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1418 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1419 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1451 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
1452 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1454 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
1455 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1457 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
1458 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1460 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
1461 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1463 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
1464 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1466 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
1467 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1469 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
1470 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1472 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
1473 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1475 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
1476 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1478 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
1479 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1481 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
1482 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1484 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
1485 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1487 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
1488 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1490 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
1491 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1493 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
1494 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1496 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
1497 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1499 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
1500 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1502 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
1503 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1505 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
1506 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1508 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
1509 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1511 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
1512 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1514 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
1515 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1517 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
1518 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1520 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
1521 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1525 #define S_028860_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1526 #define G_028860_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1528 #define S_028860_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1529 #define G_028860_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1531 #define S_028860_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1532 #define G_028860_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1534 #define S_028860_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1535 #define G_028860_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1539 #define S_028878_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1540 #define G_028878_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1542 #define S_028878_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1543 #define G_028878_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1545 #define S_028878_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1546 #define G_028878_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1548 #define S_028878_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1549 #define G_028878_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1554 #define S_028890_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1555 #define G_028890_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1557 #define S_028890_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1558 #define G_028890_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1560 #define S_028890_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1561 #define G_028890_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1563 #define S_028890_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1564 #define G_028890_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1569 #define S_028864_SINGLE_ROUND(x) (((unsigned)(x) & 0x3) << 0) argument
1570 #define G_028864_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1576 #define S_028864_DOUBLE_ROUND(x) (((unsigned)(x) & 0x3) << 2) argument
1577 #define G_028864_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1579 #define S_028864_ALLOW_SINGLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 4) argument
1580 #define G_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1582 #define S_028864_ALLOW_SINGLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 5) argument
1583 #define G_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1585 #define S_028864_ALLOW_DOUBLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 6) argument
1586 #define G_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1588 #define S_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 7) argument
1589 #define G_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1593 #define S_028844_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1594 #define G_028844_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1596 #define S_028844_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1597 #define G_028844_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1599 #define S_028844_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1600 #define G_028844_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1602 #define S_028844_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1603 #define G_028844_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1605 #define S_028844_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1606 #define G_028844_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1608 #define S_028844_CLAMP_CONSTS(x) (((unsigned)(x) & 0x1) << 31) argument
1609 #define G_028844_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1613 #define S_028848_SINGLE_ROUND(x) (((unsigned)(x) & 0x3) << 0) argument
1614 #define G_028848_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1616 #define S_028848_DOUBLE_ROUND(x) (((unsigned)(x) & 0x3) << 2) argument
1617 #define G_028848_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1619 #define S_028848_ALLOW_SINGLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 4) argument
1620 #define G_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1622 #define S_028848_ALLOW_SINGLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 5) argument
1623 #define G_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1625 #define S_028848_ALLOW_DOUBLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 6) argument
1626 #define G_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1628 #define S_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 7) argument
1629 #define G_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1633 #define S_0288BC_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1634 #define G_0288BC_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1636 #define S_0288BC_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1637 #define G_0288BC_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1639 #define S_0288BC_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1640 #define G_0288BC_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1642 #define S_0288BC_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1643 #define G_0288BC_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1645 #define S_0288BC_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1646 #define G_0288BC_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1652 #define S_0288D4_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1653 #define G_0288D4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1655 #define S_0288D4_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1656 #define G_0288D4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1658 #define S_0288D4_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1659 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1661 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1662 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1663 #define S_0288D4_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1664 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1670 #define S_028644_SEMANTIC(x) (((unsigned)(x) & 0xFF) << 0) argument
1671 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1673 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x3) << 8) argument
1674 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1676 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
1677 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1679 #define S_028644_SEL_CENTROID(x) (((unsigned)(x) & 0x1) << 11) argument
1680 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1682 #define S_028644_SEL_LINEAR(x) (((unsigned)(x) & 0x1) << 12) argument
1683 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1685 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0xF) << 13) argument
1686 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1688 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
1689 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1691 #define S_028644_SEL_SAMPLE(x) (((unsigned)(x) & 0x1) << 18) argument
1692 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1695 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1696 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1698 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
1699 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1701 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x7) << 2) argument
1702 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1704 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x7) << 5) argument
1705 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1707 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x7) << 8) argument
1708 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1710 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x7) << 11) argument
1711 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1713 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
1714 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1728 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1729 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
1730 #define S_028000_DEPTH_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
1731 #define S_028000_STENCIL_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
1732 #define S_028000_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
1733 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
1734 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
1735 #define S_028000_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
1736 #define S_028000_COPY_SAMPLE(x) (((unsigned)(x) & 0x7) << 8) argument
1737 #define S_028000_COLOR_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
1739 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1740 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 1) argument
1741 #define S_028004_SAMPLE_RATE(x) (((unsigned)(x) & 0x7) << 4) /* cayman only */ argument
1743 #define S_028008_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
1744 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1746 #define S_028008_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
1747 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1753 #define S_02800C_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
1754 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1756 #define S_02800C_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
1757 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1759 #define S_02800C_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
1760 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1762 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
1763 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1765 #define S_02800C_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1766 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1768 #define S_02800C_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
1769 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1771 #define S_02800C_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
1772 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1774 #define S_02800C_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
1775 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1777 #define S_02800C_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
1778 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1780 #define S_02800C_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
1781 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1783 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
1784 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1786 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
1787 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1789 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
1790 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1792 #define S_02800C_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
1793 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1795 #define S_02800C_DISABLE_PIXEL_RATE_TILES(x) (((unsigned)(x) & 0x1) << 26) argument
1796 #define G_02800C_DISABLE_PIXEL_RATE_TILES(x) (((x) >> 26) & 0x1) argument
1828 #define S_028350_MULTIPASS(x) (((unsigned)(x) & 0x1) << 0) argument
1829 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
1832 #define S_028354_SURFACE_SYNC_MASK(x) (((unsigned)(x) & 0x1FF) << 0) argument
1950 #define S_0286D8_PROVIDE_Z_TO_SPI(x) (((unsigned)(x) & 0x1) << 0) argument
1968 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1969 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0 & 0x1) argument
1971 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
1972 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1 & 0x1) argument
1974 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
1975 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2 & 0x1) argument
1977 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
1978 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3 & 0x1) argument
1980 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
1981 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4 & 0x1) argument
1983 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
1984 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5 & 0x1) argument
1986 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
1987 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
1989 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
1990 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
1992 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
1993 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
1999 #define S_028838_PS_GPRS(x) (((unsigned)(x) & 0x1F) << 0) argument
2000 #define S_028838_VS_GPRS(x) (((unsigned)(x) & 0x1F) << 5) argument
2001 #define S_028838_GS_GPRS(x) (((unsigned)(x) & 0x1F) << 10) argument
2002 #define S_028838_ES_GPRS(x) (((unsigned)(x) & 0x1F) << 15) argument
2003 #define S_028838_HS_GPRS(x) (((unsigned)(x) & 0x1F) << 20) argument
2004 #define S_028838_LS_GPRS(x) (((unsigned)(x) & 0x1F) << 25) argument
2007 #define S_02884C_EXPORT_COLORS(x) (((unsigned)(x) & 0xF) << 1) argument
2008 #define G_02884C_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
2010 #define S_02884C_EXPORT_Z(x) (((unsigned)(x) & 0x1) << 0) argument
2011 #define G_02884C_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
2043 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2044 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2046 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << 16) argument
2047 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2050 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2051 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
2066 #define S_028A48_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2067 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
2068 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
2076 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2077 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
2080 #define S_028A94_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2081 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
2088 #define S_028AC8_MAX_X(x) (((unsigned)(x) & 0xff) << 16) argument
2089 #define S_028AC8_MAX_Y(x) (((unsigned)(x) & 0xff) << 24) argument
2114 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
2120 #define S_028B54_LS_EN(x) (((unsigned)(x) & 0x3) << 0) argument
2124 #define S_028B54_HS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
2125 #define S_028B54_ES_EN(x) (((unsigned)(x) & 0x3) << 3) argument
2129 #define S_028B54_GS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
2130 #define S_028B54_VS_EN(x) (((unsigned)(x) & 0x3) << 6) argument
2135 #define S_028B58_NUM_PATCHES(x) (((unsigned)(x) & 0xFF) << 0) argument
2136 #define G_028B58_NUM_PATCHES(x) (((x) >> 0) & 0xFF) argument
2138 #define S_028B58_HS_NUM_INPUT_CP(x) (((unsigned)(x) & 0x3F) << 8) argument
2139 #define G_028B58_HS_NUM_INPUT_CP(x) (((x) >> 8) & 0x3F) argument
2141 #define S_028B58_HS_NUM_OUTPUT_CP(x) (((unsigned)(x) & 0x3F) << 14) argument
2142 #define G_028B58_HS_NUM_OUTPUT_CP(x) (((x) >> 14) & 0x3F) argument
2145 #define S_028B5C_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
2146 #define G_028B5C_SIZE(x) (((x) >> 0) & 0xFF) argument
2148 #define S_028B5C_PATCH_CP_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2149 #define G_028B5C_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) argument
2152 #define S_028B60_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
2153 #define G_028B60_SIZE(x) (((x) >> 0) & 0xFF) argument
2155 #define S_028B60_PATCH_CP_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2156 #define G_028B60_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) argument
2159 #define S_028B64_HS_TOTAL_OUTPUT(x) (((unsigned)(x) & 0x1FFF) << … argument
2160 #define G_028B64_HS_TOTAL_OUTPUT(x) (((x) >> 0) & 0x1FFF) argument
2162 #define S_028B64_LS_HS_TOTAL_OUTPUT(x) (((unsigned)(x) & 0x1FFF) << … argument
2163 #define G_028B64_LS_HS_TOTAL_OUTPUT(x) (((x) >> 13) & 0x1FFF) argument
2166 #define S_028B68_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2167 #define G_028B68_SIZE(x) (((x) >> 0) & 0x1FFF) argument
2169 #define S_028B68_STRIDE(x) (((unsigned)(x) & 0x1FFF) << … argument
2170 #define G_028B68_STRIDE(x) (((x) >> 13) & 0x1FFF) argument
2173 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2174 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x3) << 8) argument
2175 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x3) << 10) argument
2176 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x3) << 12) argument
2177 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x3) << 14) argument
2178 #define S_028B70_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
2180 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
2181 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
2183 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
2184 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
2188 #define S_028B80_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2189 #define G_028B80_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2192 #define S_028B84_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2193 #define G_028B84_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2196 #define S_028B88_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2197 #define G_028B88_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2200 #define S_028B8C_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2201 #define G_028B8C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2204 #define S_028B90_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2205 #define S_028B90_CNT(x) (((unsigned)(x) & 0x7F) << 2) argument
2207 #define S_028B98_STREAM_0_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
2208 #define S_028B98_STREAM_1_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 4) argument
2209 #define S_028B98_STREAM_2_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 8) argument
2210 #define S_028B98_STREAM_3_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 12) argument
2212 #define S_028C00_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
2213 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
2215 #define S_028C00_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
2216 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
2219 #define S_028C04_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 0) argument
2220 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2221 #define S_028C04_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0xf) << 13) argument
2223 #define S_028C08_PIX_CENTER_HALF(x) (((unsigned)(x) & 0x1) << 0) argument
2224 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
2226 #define S_028C08_QUANT_MODE(x) (((unsigned)(x) & 0x7) << 3) argument
2227 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
2252 #define S_028C6C_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
2253 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
2255 #define S_028C6C_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
2256 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
2260 #define S_028C80_TILE_MAX(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2263 #define S_028C88_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
2410 #define S_0085F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2411 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
2413 #define S_0085F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2414 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
2416 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
2417 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
2419 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
2420 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
2422 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
2423 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
2425 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
2426 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
2428 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
2429 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
2431 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
2432 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
2434 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2435 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
2437 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
2438 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
2440 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
2441 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
2443 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
2444 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
2446 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
2447 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
2449 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
2450 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
2452 #define S_0085F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
2453 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
2455 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
2456 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
2457 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 16) argument
2458 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1) argument
2459 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
2460 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1) argument
2461 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
2462 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1) argument
2463 #define S_0085F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
2464 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
2466 #define S_0085F0_VC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
2467 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
2469 #define S_0085F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
2470 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
2472 #define S_0085F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
2473 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
2475 #define S_0085F0_SH_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
2476 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
2478 #define S_0085F0_SMX_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
2479 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
2481 #define S_0085F0_CR0_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
2482 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
2484 #define S_0085F0_CR1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
2485 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
2487 #define S_0085F0_CR2_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
2488 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
2503 #define S_0286FC_NUM_PS_LDS(x) ((x) & 0xff) argument
2504 #define S_0286FC_NUM_LS_LDS(x) ((x) & 0xff) << 8 argument
2507 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((unsigned)(x) & 0x7) << 0) argument
2508 #define S_028804_PS_ITER_SAMPLES(x) (((unsigned)(x) & 0x7) << 4) argument
2509 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((unsigned)(x) & 0x7) << 8) argument
2510 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((unsigned)(x) & 0x7) << 12) argument
2511 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((unsigned)(x) & 0x1) << 16) argument
2512 #define S_028804_INCOHERENT_EQAA_READS(x) (((unsigned)(x) & 0x1) << 17) argument
2513 #define S_028804_INTERPOLATE_COMP_Z(x) (((unsigned)(x) & 0x1) << 18) argument
2514 #define S_028804_INTERPOLATE_SRC_Z(x) (((unsigned)(x) & 0x1) << 19) argument
2515 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((unsigned)(x) & 0x1) << 20) argument
2516 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
2522 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x7) << 0) argument
2523 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2524 #define S_028BE0_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0xf) << 13) argument
2525 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((unsigned)(x) & 0x7) << 20) argument
2526 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((unsigned)(x) & 0x3) << 24) argument
2557 #define S_028AA8_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2558 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2560 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
2561 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
2563 #define S_028AA8_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
2564 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument