Lines Matching defs:x
56 #define EVENT_TYPE(x) ((x) << 0) argument
57 #define EVENT_INDEX(x) ((x) << 8) argument
114 #define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) argument
115 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
117 #define PKT_COUNT_S(x) (((unsigned)(x) & 0x3FFF) << 16) argument
118 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
120 #define PKT0_BASE_INDEX_S(x) (((unsigned)(x) & 0xFFFF) << 0) argument
121 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
123 #define PKT3_IT_OPCODE_S(x) (((unsigned)(x) & 0xFF) << 8) argument
124 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
126 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1) argument
138 #define PKT3_CP_DMA_SRC_SEL(x) ((x) << 29) argument
143 #define PKT3_CP_DMA_DST_SEL(x) ((x) << 20) argument
148 #define PKT3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) argument
154 #define PKT3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) argument
191 #define PKT3_SET_APPEND_CNT_SRC_SELECT(x) ((x) << 0) argument
203 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
205 #define S_028B94_STREAMOUT_0_EN(x) (((unsigned)(x) & 0x1) << 0) argument
206 #define G_028B94_STREAMOUT_0_EN(x) (((x) >> 0) & 0x1) argument
208 #define S_028B94_STREAMOUT_1_EN(x) (((unsigned)(x) & 0x1) << 1) argument
209 #define G_028B94_STREAMOUT_1_EN(x) (((x) >> 1) & 0x1) argument
211 #define S_028B94_STREAMOUT_2_EN(x) (((unsigned)(x) & 0x1) << 2) argument
212 #define G_028B94_STREAMOUT_2_EN(x) (((x) >> 2) & 0x1) argument
214 #define S_028B94_STREAMOUT_3_EN(x) (((unsigned)(x) & 0x1) << 3) argument
215 #define G_028B94_STREAMOUT_3_EN(x) (((x) >> 3) & 0x1) argument
217 #define S_028B94_RAST_STREAM(x) (((unsigned)(x) & 0x07) << 4) argument
218 #define G_028B94_RAST_STREAM(x) (((x) >> 4) & 0x07) argument
220 #define S_028B94_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x0F) << 8)… argument
221 #define G_028B94_RAST_STREAM_MASK(x) (((x) >> 8) & 0x0F) argument
223 #define S_028B94_USE_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x1) << 31)… argument
224 #define G_028B94_USE_RAST_STREAM_MASK(x) (((x) >> 31) & 0x1) argument
227 #define S_028B98_STREAM_0_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
228 #define G_028B98_STREAM_0_BUFFER_EN(x) (((x) >> 0) & 0x0F) argument
230 #define S_028B98_STREAM_1_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 4) argument
231 #define G_028B98_STREAM_1_BUFFER_EN(x) (((x) >> 4) & 0x0F) argument
233 #define S_028B98_STREAM_2_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 8) argument
234 #define G_028B98_STREAM_2_BUFFER_EN(x) (((x) >> 8) & 0x0F) argument
236 #define S_028B98_STREAM_3_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 12) argument
237 #define G_028B98_STREAM_3_BUFFER_EN(x) (((x) >> 12) & 0x0F) argument
241 #define EG_S_028A4C_PS_ITER_SAMPLE(x) (((unsigned)(x) & 0x1) << 16) argument
242 #define EG_S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
243 #define EG_S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
245 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
246 #define G_028804_MAX_ANCHOR_SAMPLES(x) (((x) >> 0) & 0x07) argument
248 #define S_028804_PS_ITER_SAMPLES(x) (((unsigned)(x) & 0x07) << 4) argument
249 #define G_028804_PS_ITER_SAMPLES(x) (((x) >> 4) & 0x07) argument
251 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 8) argument
252 #define G_028804_MASK_EXPORT_NUM_SAMPLES(x) (((x) >> 8) & 0x07) argument
254 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
255 #define G_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
257 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((unsigned)(x) & 0x1) << 16) argument
258 #define G_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) >> 16) & 0x1) argument
260 #define S_028804_INCOHERENT_EQAA_READS(x) (((unsigned)(x) & 0x1) << 17) argument
261 #define G_028804_INCOHERENT_EQAA_READS(x) (((x) >> 17) & 0x1) argument
263 #define S_028804_INTERPOLATE_COMP_Z(x) (((unsigned)(x) & 0x1) << 18) argument
264 #define G_028804_INTERPOLATE_COMP_Z(x) (((x) >> 18) & 0x1) argument
266 #define S_028804_INTERPOLATE_SRC_Z(x) (((unsigned)(x) & 0x1) << 19) argument
267 #define G_028804_INTERPOLATE_SRC_Z(x) (((x) >> 19) & 0x1) argument
269 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((unsigned)(x) & 0x1) << 20) argument
270 #define G_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) >> 20) & 0x1) argument
272 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
273 #define G_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) >> 21) & 0x1) argument
275 #define S_028804_OVERRASTERIZATION_AMOUNT(x) (((unsigned)(x) & 0x07) << 24) argument
276 #define G_028804_OVERRASTERIZATION_AMOUNT(x) (((x) >> 24) & 0x07) argument
278 #define S_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((unsigned)(x) & 0x1) << 27) argument
279 #define G_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((x) >> 27) & 0x1) argument
282 #define S_028BDC_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
283 #define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
285 #define S_028BDC_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
286 #define G_028BDC_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
288 #define S_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
289 #define G_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) >> 11) & 0x1) argument
291 #define S_028BDC_DX10_DIAMOND_TEST_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
292 #define G_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) >> 12) & 0x1) argument
295 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
296 #define G_028BE0_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x07) argument
298 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
299 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
301 #define S_028BE0_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0x0F) << 13) argument
302 #define G_028BE0_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0x0F) argument
304 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((unsigned)(x) & 0x07) << 20) argument
305 #define G_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) >> 20) & 0x07) argument
307 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((unsigned)(x) & 0x03) << 24) argument
308 #define G_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) >> 24) & 0x03) argument
319 #define S_008C00_VC_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
320 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
321 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
322 #define S_008C00_EXPORT_SRC_C(x) (((unsigned)(x) & 0x1) << 1) argument
323 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
324 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
326 #define S_008C00_CS_PRIO(x) (((unsigned)(x) & 0x3) << 18) argument
327 #define G_008C00_CS_PRIO(x) (((x) >> 18) & 0x3) argument
328 #define C_008C00_CS_PRIO(x) 0xFFF3FFFF argument
329 #define S_008C00_LS_PRIO(x) (((unsigned)(x) & 0x3) << 20) argument
330 #define G_008C00_LS_PRIO(x) (((x) >> 20) & 0x3) argument
331 #define C_008C00_LS_PRIO(x) 0xFFCFFFFF argument
332 #define S_008C00_HS_PRIO(x) (((unsigned)(x) & 0x3) << 22) argument
333 #define G_008C00_HS_PRIO(x) (((x) >> 22) & 0x3) argument
334 #define C_008C00_HS_PRIO(x) 0xFF3FFFFF argument
335 #define S_008C00_PS_PRIO(x) (((unsigned)(x) & 0x3) << 24) argument
336 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
337 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
338 #define S_008C00_VS_PRIO(x) (((unsigned)(x) & 0x3) << 26) argument
339 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
340 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
341 #define S_008C00_GS_PRIO(x) (((unsigned)(x) & 0x3) << 28) argument
342 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
343 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
344 #define S_008C00_ES_PRIO(x) (((unsigned)(x) & 0x3) << 30) argument
345 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
346 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
348 #define S_008C04_NUM_PS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
349 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
350 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
351 #define S_008C04_NUM_VS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
352 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
353 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
354 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((unsigned)(x) & 0xF) << 28) argument
355 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
356 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
358 #define S_008C08_NUM_GS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
359 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
360 #define C_008C08_NUM_GS_GPRS(x) 0xFFFFFF00 argument
361 #define S_008C08_NUM_ES_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
362 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
363 #define C_008C08_NUM_ES_GPRS(x) 0xFF00FFFF argument
365 #define S_008C0C_NUM_HS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
366 #define G_008C0C_NUM_HS_GPRS(x) (((x) >> 0) & 0xFF) argument
367 #define C_008C0C_NUM_HS_GPRS(x) 0xFFFFFF00 argument
368 #define S_008C0C_NUM_LS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
369 #define G_008C0C_NUM_LS_GPRS(x) (((x) >> 16) & 0xFF) argument
370 #define C_008C0C_NUM_LS_GPRS(x) 0xFF00FFFF argument
376 #define S_008C18_NUM_PS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
377 #define G_008C18_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
378 #define C_008C18_NUM_PS_THREADS(x) 0xFFFFFF00 argument
379 #define S_008C18_NUM_VS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
380 #define G_008C18_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
381 #define C_008C18_NUM_VS_THREADS(x) 0xFFFF00FF argument
382 #define S_008C18_NUM_GS_THREADS(x) (((unsigned)(x) & 0xFF) << 16) argument
383 #define G_008C18_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
384 #define C_008C18_NUM_GS_THREADS(x) 0xFF00FFFF argument
385 #define S_008C18_NUM_ES_THREADS(x) (((unsigned)(x) & 0xFF) << 24) argument
386 #define G_008C18_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
387 #define C_008C18_NUM_ES_THREADS(x) 0x00FFFFFF argument
389 #define S_008C1C_NUM_HS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
390 #define G_008C1C_NUM_HS_THREADS(x) (((x) >> 0) & 0xFF) argument
391 #define C_008C1C_NUM_HS_THREADS(x) 0xFFFFFF00 argument
392 #define S_008C1C_NUM_LS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
393 #define G_008C1C_NUM_LS_THREADS(x) (((x) >> 8) & 0xFF) argument
394 #define C_008C1C_NUM_LS_THREADS(x) 0xFFFF00FF argument
396 #define S_008C20_NUM_PS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
397 #define G_008C20_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
398 #define C_008C20_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
399 #define S_008C20_NUM_VS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
400 #define G_008C20_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
401 #define C_008C20_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
403 #define S_008C24_NUM_GS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
404 #define G_008C24_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
405 #define C_008C24_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
406 #define S_008C24_NUM_ES_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
407 #define G_008C24_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
408 #define C_008C24_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
410 #define S_008C28_NUM_HS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
411 #define G_008C28_NUM_HS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
412 #define C_008C28_NUM_HS_STACK_ENTRIES(x) 0xFFFFF000 argument
413 #define S_008C28_NUM_LS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
414 #define G_008C28_NUM_LS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
415 #define C_008C28_NUM_LS_STACK_ENTRIES(x) 0xF000FFFF argument
417 #define S_008E2C_NUM_PS_LDS(x) (((unsigned)(x) & 0xFFFF) << 0) argument
418 #define G_008E2C_NUM_PS_LDS(x) (((x) >> 0) & 0xFFFF) argument
419 #define C_008E2C_NUM_PS_LDS(x) 0x0000FFFF argument
420 #define S_008E2C_NUM_LS_LDS(x) (((unsigned)(x) & 0xFFFF) << 16) argument
421 #define G_008E2C_NUM_LS_LDS(x) (((x) >> 16) & 0xFFFF) argument
422 #define C_008E2C_NUM_LS_LDS(x) 0xFFFF0000 argument
430 #define S_008CF0_CACHE_FIFO_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
431 #define G_008CF0_CACHE_FIFO_SIZE(x) (((x) >> 0) & 0xFF) argument
432 #define C_008CF0_CACHE_FIFO_SIZE(x) 0xFFFFFF00 argument
433 #define S_008CF0_FETCH_FIFO_HIWATER(x) (((unsigned)(x) & 0x1F) << 8) argument
434 #define G_008CF0_FETCH_FIFO_HIWATER(x) (((x) >> 8) & 0x1F) argument
435 #define C_008CF0_FETCH_FIFO_HIWATER(x) 0xFFFFE0FF argument
436 #define S_008CF0_DONE_FIFO_HIWATER(x) (((unsigned)(x) & 0xFF) << 16) argument
437 #define G_008CF0_DONE_FIFO_HIWATER(x) (((x) >> 16) & 0xFF) argument
438 #define C_008CF0_DONE_FIFO_HIWATER(x) 0xFF00FFFF argument
439 #define S_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((unsigned)(x) & 0x1F) << 24) argument
440 #define G_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((x) >> 24) & 0x1F) argument
441 #define C_008CF0_ALU_UPDATE_FIFO_HIWATER(x) 0xE0FFFFFF argument
454 #define S_00913C_VTX_DONE_DELAY(x) (((unsigned)(x) & 0xF) << 0) argument
455 #define G_00913C_VTX_DONE_DELAY(x) (((x) >> 0) & 0xF ) argument
456 #define C_00913C_VTX_DONE_DELAY(x) 0xFFFFFFF0 argument
460 #define S_028C64_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
461 #define G_028C64_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
464 #define S_028C68_SLICE_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
465 #define G_028C68_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
468 #define S_028C70_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
469 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x3) argument
471 #define S_028C70_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
472 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x3F) argument
509 #define S_028C70_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
510 #define G_028C70_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
516 #define S_028C70_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
517 #define G_028C70_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
527 #define S_028C70_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 15) argument
528 #define G_028C70_COMP_SWAP(x) (((x) >> 15) & 0x3) argument
534 #define S_028C70_FAST_CLEAR(x) (((unsigned)(x) & 0x1) << 17) argument
535 #define G_028C70_FAST_CLEAR(x) (((x) >> 17) & 0x1) argument
537 #define S_028C70_COMPRESSION(x) (((unsigned)(x) & 0x1) << 18) argument
538 #define G_028C70_COMPRESSION(x) (((x) >> 18) & 0x1) argument
540 #define S_028C70_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 19) argument
541 #define G_028C70_BLEND_CLAMP(x) (((x) >> 19) & 0x1) argument
543 #define S_028C70_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 20) argument
544 #define G_028C70_BLEND_BYPASS(x) (((x) >> 20) & 0x1) argument
546 #define S_028C70_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 21) argument
547 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 21) & 0x1) argument
549 #define S_028C70_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
550 #define G_028C70_ROUND_MODE(x) (((x) >> 22) & 0x1) argument
552 #define S_028C70_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 23) argument
553 #define G_028C70_TILE_COMPACT(x) (((x) >> 23) & 0x1) argument
555 #define S_028C70_SOURCE_FORMAT(x) (((unsigned)(x) & 0x3) << 24) argument
556 #define G_028C70_SOURCE_FORMAT(x) (((x) >> 24) & 0x3) argument
561 #define S_028C70_RAT(x) (((unsigned)(x) & 0x1) << 26) argument
562 #define G_028C70_RAT(x) (((x) >> 26) & 0x1) argument
565 #define S_028C70_RESOURCE_TYPE(x) (((unsigned)(x) & 0x7) << 27) argument
566 #define G_028C70_RESOURCE_TYPE(x) (((x) >> 27) & 0x7) argument
576 #define S_028C74_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x1) << 4) argument
577 #define G_028C74_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x1) argument
579 #define S_028C74_TILE_SPLIT(x) (((unsigned)(x) & 0xf) << 5) argument
580 #define S_028C74_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 10) argument
581 #define S_028C74_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 13) argument
582 #define S_028C74_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 16) argument
583 #define S_028C74_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 19) argument
584 #define S_028C74_FMASK_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 22) argument
585 #define S_028C74_NUM_SAMPLES(x) (((unsigned)(x) & 0x7) << 24) /* cayman only… argument
586 #define S_028C74_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x3) << 27) /* cayman only… argument
587 #define S_028C74_FORCE_DST_ALPHA_1(x) (((unsigned)(x) & 0x1) << 31) /* cayman only… argument
590 #define S_028C78_WIDTH_MAX(x) (((unsigned)(x) & 0xFFFF) << 0) argument
591 #define G_028C78_WIDTH_MAX(x) (((x) >> 0) & 0xFFFF) argument
593 #define S_028C78_HEIGHT_MAX(x) (((unsigned)(x) & 0xFFFF) << 16) argument
594 #define G_028C78_HEIGHT_MAX(x) (((x) >> 16) & 0xFFFF) argument
600 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
601 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
603 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
604 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
606 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
607 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
614 #define S_028B6C_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
615 #define G_028B6C_TYPE(x) (((x) >> 0) & 0x03) argument
620 #define S_028B6C_PARTITIONING(x) (((unsigned)(x) & 0x07) << 2) argument
621 #define G_028B6C_PARTITIONING(x) (((x) >> 2) & 0x07) argument
627 #define S_028B6C_TOPOLOGY(x) (((unsigned)(x) & 0x07) << 5) argument
628 #define G_028B6C_TOPOLOGY(x) (((x) >> 5) & 0x07) argument
634 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((unsigned)(x) & 0x1) << 8) argument
635 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1) argument
637 #define S_028B6C_BUFFER_ACCESS_MODE(x) (((unsigned)(x) & 0x1) << 9) argument
638 #define G_028B6C_BUFFER_ACCESS_MODE(x) (((x) >> 9) & 0x1) argument
642 #define S_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((unsigned)(x) & 0xf) << 10) argument
643 #define G_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((x) >> 10) & 0xF) argument
649 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
650 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
652 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
653 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
655 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
656 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
658 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
659 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
661 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
662 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
664 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
665 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
675 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
676 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
686 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
687 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
689 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
690 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
692 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
693 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
695 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
696 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
698 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
699 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
701 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
702 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
706 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
707 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
709 #define S_028808_MODE(x) (((unsigned)(x) & 0x7) << 4) argument
710 #define G_028808_MODE(x) (((x) >> 4) & 0x7) argument
718 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
719 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
722 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
723 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
725 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
726 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
728 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
729 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
731 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
732 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
734 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
735 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
737 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
738 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
740 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
741 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
743 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x3) << 14) argument
744 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
746 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
747 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
749 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
750 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
752 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
753 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
755 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
756 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
758 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
759 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
761 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
762 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
764 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) argument
765 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
767 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
768 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
770 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
771 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
773 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
774 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
776 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
777 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
781 #define S_028040_FORMAT(x) (((unsigned)(x) & 0x3) << 0) argument
782 #define G_028040_FORMAT(x) (((x) >> 0) & 0x3) argument
788 #define S_028040_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 2) /* cayman only … argument
789 #define S_028040_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 4) argument
790 #define G_028040_ARRAY_MODE(x) (((x) >> 4) & 0xF) argument
792 #define S_028040_READ_SIZE(x) (((unsigned)(x) & 0x1) << 28) argument
793 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1) argument
795 #define S_028040_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 29) argument
796 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
798 #define S_028040_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
799 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
801 #define S_028040_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 8) argument
802 #define S_028040_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 12) argument
803 #define S_028040_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 16) argument
804 #define S_028040_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 20) argument
805 #define S_028040_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 24) argument
808 #define S_028044_FORMAT(x) (((unsigned)(x) & 0x1) << 0) argument
811 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) argument
813 #define S_028044_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 8) argument
816 #define S_028058_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
817 #define G_028058_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
819 #define S_028058_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 11) argument
820 #define G_028058_HEIGHT_TILE_MAX(x) (((x) >> 11) & 0x7FF) argument
824 #define S_02805C_SLICE_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
825 #define G_02805C_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
829 #define S_028430_STENCILREF(x) (((unsigned)(x) & 0xFF) << 0) argument
830 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
832 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
833 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
835 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
836 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
839 #define S_028434_STENCILREF_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
840 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
842 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
843 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
845 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
846 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
849 #define S_028780_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
850 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
873 #define S_028780_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x7) << 5) argument
874 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
881 #define S_028780_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
882 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
884 #define S_028780_OPACITY_WEIGHT(x) (((unsigned)(x) & 0x1) << 13) argument
885 #define G_028780_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
887 #define S_028780_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
888 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
890 #define S_028780_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x7) << 21) argument
891 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
893 #define S_028780_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
894 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
896 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
897 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
899 #define S_028780_BLEND_CONTROL_ENABLE(x) (((unsigned)(x) & 0x1) << 30) argument
900 #define G_028780_BLEND_CONTROL_ENABLE(x) (((x) >> 30) & 0x1) argument
903 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
904 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
906 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
907 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
909 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
910 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
912 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
913 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
915 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x7) << 5) argument
916 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
918 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x7) << 8) argument
919 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
921 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
922 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
924 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
925 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
927 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
928 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
930 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
931 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
933 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
934 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
936 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
937 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
939 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
940 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
944 #define S_028ABC_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
945 #define G_028ABC_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
947 #define S_028ABC_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
948 #define G_028ABC_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
950 #define S_028ABC_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
951 #define G_028ABC_LINEAR(x) (((x) >> 2) & 0x1) argument
953 #define S_028ABC_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
954 #define G_028ABC_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
956 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
957 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
959 #define S_028ABC_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
960 #define G_028ABC_PRELOAD(x) (((x) >> 5) & 0x1) argument
962 #define S_028ABC_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
963 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
965 #define S_028ABC_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
966 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
969 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
970 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
972 #define S_02880C_STENCIL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
973 #define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
975 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
976 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
982 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
983 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
985 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
986 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
988 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 9) argument
989 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
991 #define S_02880C_EXEC_ON_HIER_FAIL(x) (((unsigned)(x) & 0x1) << 10) argument
992 #define G_02880C_EXEC_ON_HIER_FAIL(x) (((x) >> 10) & 0x1) argument
994 #define S_02880C_EXEC_ON_NOOP(x) (((unsigned)(x) & 0x1) << 11) argument
995 #define G_02880C_EXEC_ON_NOOP(x) (((x) >> 11) & 0x1) argument
997 #define S_02880C_DB_SOURCE_FORMAT(x) (((unsigned)(x) & 0x3) << 13) argument
998 #define G_02880C_DB_SOURCE_FORMAT(x) (((x) >> 13) & 0x3) argument
1003 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
1004 #define S_02880C_DEPTH_BEFORE_SHADER(x) (((unsigned)(x) & 0x1) << 15) argument
1005 #define S_02880C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 16) argument
1006 #define G_02880C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 16) & 0x03) argument
1014 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1015 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
1017 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 16) argument
1018 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
1021 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1022 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
1023 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
1024 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x3) << 29) argument
1026 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
1027 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
1035 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
1036 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
1038 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
1039 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
1045 #define S_028A40_COMPUTE_MODE(x) (x << 14) argument
1046 #define S_028A40_PARTIAL_THD_AT_EOI(x) (x << 17) argument
1048 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1053 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
1054 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
1056 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
1057 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
1059 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
1060 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
1062 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
1063 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
1065 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
1066 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
1068 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
1069 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
1071 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
1072 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
1074 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
1075 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
1080 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
1081 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
1083 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
1084 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
1086 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
1087 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
1089 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
1090 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
1092 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
1093 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
1095 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
1096 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
1098 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
1099 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
1101 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
1102 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
1105 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
1106 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
1108 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
1109 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
1111 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
1112 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
1114 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
1115 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
1117 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
1118 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
1120 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
1121 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
1123 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
1124 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
1127 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
1128 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
1130 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
1131 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
1133 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
1134 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
1136 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
1137 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
1141 #define S_0286E0_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x3) << 0) argument
1142 #define G_0286E0_PERSP_CENTER_ENA(x) (((x) >> 0) & 0x3) argument
1144 #define S_0286E0_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x3) << 4) argument
1145 #define G_0286E0_PERSP_CENTROID_ENA(x) (((x) >> 4) & 0x3) argument
1147 #define S_0286E0_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x3) << 8) argument
1148 #define G_0286E0_PERSP_SAMPLE_ENA(x) (((x) >> 8) & 0x3) argument
1150 #define S_0286E0_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x3) << 12) argument
1151 #define G_0286E0_PERSP_PULL_MODEL_ENA(x) (((x) >> 12) & 0x3) argument
1153 #define S_0286E0_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x3) << 16) argument
1154 #define G_0286E0_LINEAR_CENTER_ENA(x) (((x) >> 16) & 0x3) argument
1156 #define S_0286E0_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x3) << 20) argument
1157 #define G_0286E0_LINEAR_CENTROID_ENA(x) (((x) >> 20) & 0x3) argument
1159 #define S_0286E0_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x3) << 24) argument
1160 #define G_0286E0_LINEAR_SAMPLE_ENA(x) (((x) >> 24) & 0x3) argument
1166 #define S_028250_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1167 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1169 #define S_028250_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1170 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1172 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1173 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1176 #define S_028254_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1177 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1179 #define S_028254_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1180 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1184 #define S_028240_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1185 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1187 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1188 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1190 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1191 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1194 #define S_028244_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1195 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1197 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1198 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1202 #define S_028030_TL_X(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1203 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
1205 #define S_028030_TL_Y(x) (((unsigned)(x) & 0xFFFF) << 16) argument
1206 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
1209 #define S_028034_BR_X(x) (((unsigned)(x) & 0xFFFF) << 0) argument
1210 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
1212 #define S_028034_BR_Y(x) (((unsigned)(x) & 0xFFFF) << 16) argument
1213 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
1217 #define S_028204_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1218 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1220 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1221 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1223 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1224 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1227 #define S_028208_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1228 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1230 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1231 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1240 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
1241 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
1243 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
1244 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
1246 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
1247 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
1249 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
1250 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
1252 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
1253 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
1257 #define S_030000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
1258 #define G_030000_DIM(x) (((x) >> 0) & 0x7) argument
1268 #define S_030000_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x1) << 5) argument
1269 #define G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 5) & 0x1) argument
1271 #define CM_S_030000_NON_DISP_TILING_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
1272 #define CM_G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x3) argument
1274 #define S_030000_PITCH(x) (((unsigned)(x) & 0xFFF) << 6) argument
1275 #define G_030000_PITCH(x) (((x) >> 6) & 0xFFF) argument
1277 #define S_030000_TEX_WIDTH(x) (((unsigned)(x) & 0x3FFF) << 18) argument
1278 #define G_030000_TEX_WIDTH(x) (((x) >> 18) & 0x3FFF) argument
1281 #define S_030004_TEX_HEIGHT(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1282 #define G_030004_TEX_HEIGHT(x) (((x) >> 0) & 0x3FFF) argument
1284 #define S_030004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 14) argument
1285 #define G_030004_TEX_DEPTH(x) (((x) >> 14) & 0x1FFF) argument
1287 #define S_030004_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 28) argument
1288 #define G_030004_ARRAY_MODE(x) (((x) >> 28) & 0xF) argument
1291 #define S_030008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1292 #define G_030008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1295 #define S_03000C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1296 #define G_03000C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1299 #define S_030010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
1300 #define G_030010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1305 #define S_030010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
1306 #define G_030010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1308 #define S_030010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
1309 #define G_030010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1311 #define S_030010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
1312 #define G_030010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1314 #define S_030010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
1315 #define G_030010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1320 #define S_030010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
1321 #define G_030010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1325 #define S_030010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
1326 #define G_030010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1328 #define S_030010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
1329 #define G_030010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1331 #define S_030010_LOG2_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x3) << 14) /* cayman only… argument
1332 #define S_030010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
1333 #define G_030010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1341 #define S_030010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
1342 #define G_030010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1344 #define S_030010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
1345 #define G_030010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1347 #define S_030010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
1348 #define G_030010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1350 #define S_030010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
1351 #define G_030010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1354 #define S_030014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
1355 #define G_030014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1357 #define S_030014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
1358 #define G_030014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1360 #define S_030014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
1361 #define G_030014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1366 #define S_030018_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 0) argument
1367 #define G_030018_MAX_ANISO_RATIO(x) (((x) >> 0) & 0x7) argument
1369 #define S_030018_FMASK_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 0) argument
1370 #define S_030018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 3) argument
1371 #define G_030018_PERF_MODULATION(x) (((x) >> 3) & 0x7) argument
1373 #define S_030018_INTERLACED(x) (((unsigned)(x) & 0x1) << 6) argument
1374 #define G_030018_INTERLACED(x) (((x) >> 6) & 0x1) argument
1376 #define S_030018_TILE_SPLIT(x) (((unsigned)(x) & 0x7) << 29) argument
1378 #define S_03001C_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 0) argument
1379 #define G_03001C_DATA_FORMAT(x) (((x) >> 0) & 0x3F) argument
1381 #define S_03001C_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x3) << 6) argument
1382 #define S_03001C_BANK_WIDTH(x) (((unsigned)(x) & 0x3) << 8) argument
1383 #define S_03001C_BANK_HEIGHT(x) (((unsigned)(x) & 0x3) << 10) argument
1384 #define S_03001C_DEPTH_SAMPLE_ORDER(x) (((unsigned)(x) & 0x1) << 15) argument
1385 #define S_03001C_NUM_BANKS(x) (((unsigned)(x) & 0x3) << 16) argument
1386 #define S_03001C_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
1387 #define G_03001C_TYPE(x) (((x) >> 30) & 0x3) argument
1395 #define S_030008_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1396 #define G_030008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1398 #define S_030008_STRIDE(x) (((unsigned)(x) & 0x7FF) << 8) argument
1399 #define G_030008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1401 #define S_030008_CLAMP_X(x) (((unsigned)(x) & 0x1) << 19) argument
1402 #define G_030008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1404 #define S_030008_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 20) argument
1405 #define G_030008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1407 #define S_030008_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 26) argument
1408 #define G_030008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1413 #define S_030008_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 28) argument
1414 #define G_030008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1416 #define S_030008_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 29) argument
1417 #define G_030008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1419 #define S_030008_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 30) argument
1420 #define G_030008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1424 #define S_03000C_UNCACHED(x) (((unsigned)(x) & 0x1) << 2) argument
1425 #define S_03000C_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 3) argument
1426 #define G_03000C_DST_SEL_X(x) (((x) >> 3) & 0x7) argument
1433 #define S_03000C_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 6) argument
1434 #define G_03000C_DST_SEL_Y(x) (((x) >> 6) & 0x7) argument
1435 #define S_03000C_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 9) argument
1436 #define G_03000C_DST_SEL_Z(x) (((x) >> 9) & 0x7) argument
1437 #define S_03000C_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 12) argument
1438 #define G_03000C_DST_SEL_W(x) (((x) >> 12) & 0x7) argument
1472 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
1473 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1483 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
1484 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1486 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
1487 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1489 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x3) << 9) argument
1490 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x3) argument
1494 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x3) << 11) argument
1495 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 11) & 0x3) argument
1497 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 13) argument
1498 #define G_03C000_Z_FILTER(x) (((x) >> 13) & 0x3) argument
1503 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
1504 #define G_03C000_MIP_FILTER(x) (((x) >> 15) & 0x3) argument
1506 #define S_03C000_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 17) argument
1507 #define G_03C000_MAX_ANISO_RATIO(x) (((x) >> 17) & 0x7) argument
1509 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 20) argument
1510 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 20) & 0x3) argument
1516 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 22) argument
1517 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 22) & 0x7) argument
1527 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 25) argument
1528 #define G_03C000_CHROMA_KEY(x) (((x) >> 25) & 0x3) argument
1535 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 0) argument
1536 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
1538 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0xFFF) << 12) argument
1539 #define G_03C004_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
1542 #define S_03C004_PERF_MIP(x) (((unsigned)(x) & 0xF) << 24) argument
1543 #define G_03C004_PERF_MIP(x) (((x) >> 24) & 0xF) argument
1545 #define S_03C004_PERF_Z(x) (((unsigned)(x) & 0xF) << 28) argument
1546 #define G_03C004_PERF_Z(x) (((x) >> 24) & 0xF) argument
1550 #define S_03C008_LOD_BIAS(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1551 #define G_03C008_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
1553 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0x3F) << 14) argument
1554 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
1556 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 20) argument
1557 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 20) & 0x1) argument
1559 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 21) argument
1560 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 21) & 0x1) argument
1562 #define S_03C008_ANISO_BIAS(x) (((unsigned)(x) & 0x3f) << 22) argument
1563 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1565 #define S_03C008_TRUNCATE_COORD(x) (((unsigned)(x) & 0x1) << 28) argument
1566 #define G_03C008_TRUNCATE_COORD(x) (((x) >> 28) & 0x1) argument
1568 #define S_03C008_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 29) argument
1569 #define G_03C008_DISABLE_CUBE_WRAP(x) (((x) >> 29) & 0x1) argument
1571 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
1572 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1576 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1577 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1609 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
1610 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1612 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
1613 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1615 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
1616 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1618 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
1619 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1621 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
1622 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1624 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
1625 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1627 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
1628 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1630 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
1631 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1633 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
1634 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1636 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
1637 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1639 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
1640 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1642 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
1643 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1645 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
1646 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1648 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
1649 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1651 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
1652 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1654 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
1655 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1657 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
1658 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1660 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
1661 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1663 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
1664 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1666 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
1667 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1669 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
1670 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1672 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
1673 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1675 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
1676 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1678 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
1679 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1683 #define S_028860_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1684 #define G_028860_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1686 #define S_028860_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1687 #define G_028860_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1689 #define S_028860_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1690 #define G_028860_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1692 #define S_028860_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1693 #define G_028860_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1697 #define S_028878_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1698 #define G_028878_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1700 #define S_028878_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1701 #define G_028878_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1703 #define S_028878_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1704 #define G_028878_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1706 #define S_028878_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1707 #define G_028878_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1712 #define S_028890_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1713 #define G_028890_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1715 #define S_028890_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1716 #define G_028890_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1718 #define S_028890_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1719 #define G_028890_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1721 #define S_028890_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1722 #define G_028890_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1727 #define S_028864_SINGLE_ROUND(x) (((unsigned)(x) & 0x3) << 0) argument
1728 #define G_028864_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1734 #define S_028864_DOUBLE_ROUND(x) (((unsigned)(x) & 0x3) << 2) argument
1735 #define G_028864_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1737 #define S_028864_ALLOW_SINGLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 4) argument
1738 #define G_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1740 #define S_028864_ALLOW_SINGLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 5) argument
1741 #define G_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1743 #define S_028864_ALLOW_DOUBLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 6) argument
1744 #define G_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1746 #define S_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 7) argument
1747 #define G_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1751 #define S_028844_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1752 #define G_028844_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1754 #define S_028844_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1755 #define G_028844_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1757 #define S_028844_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1758 #define G_028844_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1760 #define S_028844_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1761 #define G_028844_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1763 #define S_028844_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1764 #define G_028844_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1766 #define S_028844_CLAMP_CONSTS(x) (((unsigned)(x) & 0x1) << 31) argument
1767 #define G_028844_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1771 #define S_028848_SINGLE_ROUND(x) (((unsigned)(x) & 0x3) << 0) argument
1772 #define G_028848_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1774 #define S_028848_DOUBLE_ROUND(x) (((unsigned)(x) & 0x3) << 2) argument
1775 #define G_028848_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1777 #define S_028848_ALLOW_SINGLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 4) argument
1778 #define G_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1780 #define S_028848_ALLOW_SINGLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 5) argument
1781 #define G_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1783 #define S_028848_ALLOW_DOUBLE_DENORM_IN(x) (((unsigned)(x) & 0x1) << 6) argument
1784 #define G_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1786 #define S_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((unsigned)(x) & 0x1) << 7) argument
1787 #define G_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1791 #define S_0288BC_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1792 #define G_0288BC_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1794 #define S_0288BC_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1795 #define G_0288BC_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1797 #define S_0288BC_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1798 #define G_0288BC_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1800 #define S_0288BC_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1801 #define G_0288BC_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1803 #define S_0288BC_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1804 #define G_0288BC_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1810 #define S_0288D4_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1811 #define G_0288D4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1813 #define S_0288D4_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1814 #define G_0288D4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1816 #define S_0288D4_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1817 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1819 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((unsigned)(x) & 0x1) << 23) argument
1820 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1821 #define S_0288D4_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1822 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1828 #define S_028644_SEMANTIC(x) (((unsigned)(x) & 0xFF) << 0) argument
1829 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1831 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x3) << 8) argument
1832 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1834 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
1835 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1837 #define S_028644_SEL_CENTROID(x) (((unsigned)(x) & 0x1) << 11) argument
1838 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1840 #define S_028644_SEL_LINEAR(x) (((unsigned)(x) & 0x1) << 12) argument
1841 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1843 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0xF) << 13) argument
1844 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1846 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
1847 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1849 #define S_028644_SEL_SAMPLE(x) (((unsigned)(x) & 0x1) << 18) argument
1850 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1853 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1854 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1856 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
1857 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1859 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x7) << 2) argument
1860 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1862 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x7) << 5) argument
1863 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1865 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x7) << 8) argument
1866 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1868 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x7) << 11) argument
1869 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1871 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
1872 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1886 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1887 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
1888 #define S_028000_DEPTH_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
1889 #define S_028000_STENCIL_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
1890 #define S_028000_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
1891 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
1892 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
1893 #define S_028000_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
1894 #define S_028000_COPY_SAMPLE(x) (((unsigned)(x) & 0x7) << 8) argument
1895 #define S_028000_COLOR_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
1897 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1898 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 1) argument
1899 #define S_028004_SAMPLE_RATE(x) (((unsigned)(x) & 0x7) << 4) /* cayman only */ argument
1901 #define S_028008_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
1902 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1904 #define S_028008_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
1905 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1911 #define S_02800C_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
1912 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1914 #define S_02800C_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
1915 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1917 #define S_02800C_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
1918 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1920 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
1921 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1923 #define S_02800C_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1924 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1926 #define S_02800C_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
1927 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1929 #define S_02800C_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
1930 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1932 #define S_02800C_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
1933 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1935 #define S_02800C_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
1936 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1938 #define S_02800C_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
1939 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1941 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
1942 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1944 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
1945 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1947 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
1948 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1950 #define S_02800C_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
1951 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1953 #define S_02800C_DISABLE_PIXEL_RATE_TILES(x) (((unsigned)(x) & 0x1) << 26) argument
1954 #define G_02800C_DISABLE_PIXEL_RATE_TILES(x) (((x) >> 26) & 0x1) argument
1986 #define S_028350_MULTIPASS(x) (((unsigned)(x) & 0x1) << 0) argument
1987 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
1990 #define S_028354_SURFACE_SYNC_MASK(x) (((unsigned)(x) & 0x1FF) << 0) argument
2108 #define S_0286D8_PROVIDE_Z_TO_SPI(x) (((unsigned)(x) & 0x1) << 0) argument
2112 #define S_0286E8_TID_IN_GROUP_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2113 #define S_0286E8_TGID_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2114 #define S_0286E8_DISABLE_INDEX_PACK(x) (((unsigned)(x) & 0x1) << 2) argument
2139 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2140 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0 & 0x1) argument
2142 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2143 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1 & 0x1) argument
2145 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
2146 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2 & 0x1) argument
2148 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
2149 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3 & 0x1) argument
2151 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
2152 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4 & 0x1) argument
2154 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
2155 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5 & 0x1) argument
2157 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
2158 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
2160 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
2161 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
2163 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
2164 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
2170 #define S_028838_PS_GPRS(x) (((unsigned)(x) & 0x1F) << 0) argument
2171 #define S_028838_VS_GPRS(x) (((unsigned)(x) & 0x1F) << 5) argument
2172 #define S_028838_GS_GPRS(x) (((unsigned)(x) & 0x1F) << 10) argument
2173 #define S_028838_ES_GPRS(x) (((unsigned)(x) & 0x1F) << 15) argument
2174 #define S_028838_HS_GPRS(x) (((unsigned)(x) & 0x1F) << 20) argument
2175 #define S_028838_LS_GPRS(x) (((unsigned)(x) & 0x1F) << 25) argument
2178 #define S_02884C_EXPORT_COLORS(x) (((unsigned)(x) & 0xF) << 1) argument
2179 #define G_02884C_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
2181 #define S_02884C_EXPORT_Z(x) (((unsigned)(x) & 0x1) << 0) argument
2182 #define G_02884C_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
2228 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2229 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2231 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << 16) argument
2232 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2235 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2236 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
2251 #define S_028A48_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2252 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
2253 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
2261 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2262 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
2265 #define S_028A94_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2266 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
2273 #define S_028AC8_MAX_X(x) (((unsigned)(x) & 0xff) << 16) argument
2274 #define S_028AC8_MAX_Y(x) (((unsigned)(x) & 0xff) << 24) argument
2299 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
2305 #define S_028B54_LS_EN(x) (((unsigned)(x) & 0x3) << 0) argument
2309 #define S_028B54_HS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
2310 #define S_028B54_ES_EN(x) (((unsigned)(x) & 0x3) << 3) argument
2314 #define S_028B54_GS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
2315 #define S_028B54_VS_EN(x) (((unsigned)(x) & 0x3) << 6) argument
2320 #define S_028B58_NUM_PATCHES(x) (((unsigned)(x) & 0xFF) << 0) argument
2321 #define G_028B58_NUM_PATCHES(x) (((x) >> 0) & 0xFF) argument
2323 #define S_028B58_HS_NUM_INPUT_CP(x) (((unsigned)(x) & 0x3F) << 8) argument
2324 #define G_028B58_HS_NUM_INPUT_CP(x) (((x) >> 8) & 0x3F) argument
2326 #define S_028B58_HS_NUM_OUTPUT_CP(x) (((unsigned)(x) & 0x3F) << 14) argument
2327 #define G_028B58_HS_NUM_OUTPUT_CP(x) (((x) >> 14) & 0x3F) argument
2330 #define S_028B5C_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
2331 #define G_028B5C_SIZE(x) (((x) >> 0) & 0xFF) argument
2333 #define S_028B5C_PATCH_CP_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2334 #define G_028B5C_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) argument
2337 #define S_028B60_SIZE(x) (((unsigned)(x) & 0xFF) << 0) argument
2338 #define G_028B60_SIZE(x) (((x) >> 0) & 0xFF) argument
2340 #define S_028B60_PATCH_CP_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2341 #define G_028B60_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) argument
2344 #define S_028B64_HS_TOTAL_OUTPUT(x) (((unsigned)(x) & 0x1FFF) << … argument
2345 #define G_028B64_HS_TOTAL_OUTPUT(x) (((x) >> 0) & 0x1FFF) argument
2347 #define S_028B64_LS_HS_TOTAL_OUTPUT(x) (((unsigned)(x) & 0x1FFF) << … argument
2348 #define G_028B64_LS_HS_TOTAL_OUTPUT(x) (((x) >> 13) & 0x1FFF) argument
2351 #define S_028B68_SIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2352 #define G_028B68_SIZE(x) (((x) >> 0) & 0x1FFF) argument
2354 #define S_028B68_STRIDE(x) (((unsigned)(x) & 0x1FFF) << … argument
2355 #define G_028B68_STRIDE(x) (((x) >> 13) & 0x1FFF) argument
2358 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2359 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x3) << 8) argument
2360 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x3) << 10) argument
2361 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x3) << 12) argument
2362 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x3) << 14) argument
2363 #define S_028B70_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
2365 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
2366 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
2368 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
2369 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
2373 #define S_028B80_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2374 #define G_028B80_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2377 #define S_028B84_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2378 #define G_028B84_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2381 #define S_028B88_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2382 #define G_028B88_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2385 #define S_028B8C_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2386 #define G_028B8C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2389 #define S_028B90_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2390 #define S_028B90_CNT(x) (((unsigned)(x) & 0x7F) << 2) argument
2392 #define S_028B98_STREAM_0_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
2393 #define S_028B98_STREAM_1_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 4) argument
2394 #define S_028B98_STREAM_2_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 8) argument
2395 #define S_028B98_STREAM_3_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 12) argument
2409 #define S_028C00_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
2410 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
2412 #define S_028C00_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
2413 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
2416 #define S_028C04_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 0) argument
2417 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2418 #define S_028C04_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0xf) << 13) argument
2420 #define S_028C08_PIX_CENTER_HALF(x) (((unsigned)(x) & 0x1) << 0) argument
2421 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
2423 #define S_028C08_QUANT_MODE(x) (((unsigned)(x) & 0x7) << 3) argument
2424 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
2449 #define S_028C6C_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
2450 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
2452 #define S_028C6C_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
2453 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
2457 #define S_028C80_TILE_MAX(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2460 #define S_028C88_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
2607 #define S_0085F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2608 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
2610 #define S_0085F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2611 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
2613 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
2614 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
2616 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
2617 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
2619 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
2620 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
2622 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
2623 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
2625 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
2626 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
2628 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
2629 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
2631 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2632 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
2634 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
2635 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
2637 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
2638 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
2640 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
2641 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
2643 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
2644 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
2646 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
2647 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
2649 #define S_0085F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
2650 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
2652 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
2653 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
2654 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 16) argument
2655 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1) argument
2656 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
2657 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1) argument
2658 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
2659 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1) argument
2660 #define S_0085F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
2661 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
2663 #define S_0085F0_VC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
2664 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
2666 #define S_0085F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
2667 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
2669 #define S_0085F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
2670 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
2672 #define S_0085F0_SH_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
2673 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
2675 #define S_0085F0_SMX_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
2676 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
2678 #define S_0085F0_CR0_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
2679 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
2681 #define S_0085F0_CR1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
2682 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
2684 #define S_0085F0_CR2_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
2685 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
2703 #define S_0286FC_NUM_PS_LDS(x) ((x) & 0xff) argument
2704 #define S_0286FC_NUM_LS_LDS(x) ((x) & 0xff) << 8 argument
2710 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
2711 #define G_028804_MAX_ANCHOR_SAMPLES(x) (((x) >> 0) & 0x07) argument
2713 #define S_028804_PS_ITER_SAMPLES(x) (((unsigned)(x) & 0x07) << 4) argument
2714 #define G_028804_PS_ITER_SAMPLES(x) (((x) >> 4) & 0x07) argument
2716 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 8) argument
2717 #define G_028804_MASK_EXPORT_NUM_SAMPLES(x) (((x) >> 8) & 0x07) argument
2719 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
2720 #define G_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
2722 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((unsigned)(x) & 0x1) << 16) argument
2723 #define G_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) >> 16) & 0x1) argument
2725 #define S_028804_INCOHERENT_EQAA_READS(x) (((unsigned)(x) & 0x1) << 17) argument
2726 #define G_028804_INCOHERENT_EQAA_READS(x) (((x) >> 17) & 0x1) argument
2728 #define S_028804_INTERPOLATE_COMP_Z(x) (((unsigned)(x) & 0x1) << 18) argument
2729 #define G_028804_INTERPOLATE_COMP_Z(x) (((x) >> 18) & 0x1) argument
2731 #define S_028804_INTERPOLATE_SRC_Z(x) (((unsigned)(x) & 0x1) << 19) argument
2732 #define G_028804_INTERPOLATE_SRC_Z(x) (((x) >> 19) & 0x1) argument
2734 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((unsigned)(x) & 0x1) << 20) argument
2735 #define G_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) >> 20) & 0x1) argument
2737 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
2738 #define G_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) >> 21) & 0x1) argument
2745 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
2746 #define G_028BE0_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x07) argument
2748 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2749 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
2751 #define S_028BE0_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0x0F) << 13) argument
2752 #define G_028BE0_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0x0F) argument
2754 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((unsigned)(x) & 0x07) << 20) argument
2755 #define G_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) >> 20) & 0x07) argument
2757 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((unsigned)(x) & 0x03) << 24) argument
2758 #define G_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) >> 24) & 0x03) argument
2790 #define S_028AA8_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2791 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2793 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
2794 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
2796 #define S_028AA8_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
2797 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument