Lines Matching refs:values

342                                 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_BODY * restrict values)
347 __gen_uint(values->ReadLength[0], 0, 15) |
348 __gen_uint(values->ReadLength[1], 16, 31);
351 __gen_uint(values->ReadLength[2], 0, 15) |
352 __gen_uint(values->ReadLength[3], 16, 31);
355 __gen_uint(values->MOCS, 0, 4);
356 dw[2] = __gen_address(data, &dw[2], values->Buffer[0], v2, 5, 31);
358 dw[3] = __gen_address(data, &dw[3], values->Buffer[1], 0, 5, 31);
360 dw[4] = __gen_address(data, &dw[4], values->Buffer[2], 0, 5, 31);
362 dw[5] = __gen_address(data, &dw[5], values->Buffer[3], 0, 5, 31);
373 __attribute__((unused)) const struct GFX7_BINDING_TABLE_STATE * restrict values)
378 __gen_offset(values->SurfaceStatePointer, 5, 31);
416 __attribute__((unused)) const struct GFX7_BLEND_STATE_ENTRY * restrict values)
421 __gen_uint(values->DestinationBlendFactor, 0, 4) |
422 __gen_uint(values->SourceBlendFactor, 5, 9) |
423 __gen_uint(values->ColorBlendFunction, 11, 13) |
424 __gen_uint(values->DestinationAlphaBlendFactor, 15, 19) |
425 __gen_uint(values->SourceAlphaBlendFactor, 20, 24) |
426 __gen_uint(values->AlphaBlendFunction, 26, 28) |
427 __gen_uint(values->IndependentAlphaBlendEnable, 30, 30) |
428 __gen_uint(values->ColorBufferBlendEnable, 31, 31);
431 __gen_uint(values->PostBlendColorClampEnable, 0, 0) |
432 __gen_uint(values->PreBlendColorClampEnable, 1, 1) |
433 __gen_uint(values->ColorClampRange, 2, 3) |
434 __gen_uint(values->YDitherOffset, 8, 9) |
435 __gen_uint(values->XDitherOffset, 10, 11) |
436 __gen_uint(values->ColorDitherEnable, 12, 12) |
437 __gen_uint(values->AlphaTestFunction, 13, 15) |
438 __gen_uint(values->AlphaTestEnable, 16, 16) |
439 __gen_uint(values->LogicOpFunction, 18, 21) |
440 __gen_uint(values->LogicOpEnable, 22, 22) |
441 __gen_uint(values->WriteDisableBlue, 24, 24) |
442 __gen_uint(values->WriteDisableGreen, 25, 25) |
443 __gen_uint(values->WriteDisableRed, 26, 26) |
444 __gen_uint(values->WriteDisableAlpha, 27, 27) |
445 __gen_uint(values->AlphaToCoverageDitherEnable, 29, 29) |
446 __gen_uint(values->AlphaToOneEnable, 30, 30) |
447 __gen_uint(values->AlphaToCoverageEnable, 31, 31);
458 __attribute__((unused)) const struct GFX7_BLEND_STATE * restrict values)
471 __attribute__((unused)) const struct GFX7_CC_VIEWPORT * restrict values)
476 __gen_float(values->MinimumDepth);
479 __gen_float(values->MaximumDepth);
501 __attribute__((unused)) const struct GFX7_COLOR_CALC_STATE * restrict values)
506 __gen_uint(values->AlphaTestFormat, 0, 0) |
507 __gen_uint(values->RoundDisableFunctionDisable, 15, 15) |
508 __gen_uint(values->BackfaceStencilReferenceValue, 16, 23) |
509 __gen_uint(values->StencilReferenceValue, 24, 31);
512 __gen_uint(values->AlphaReferenceValueAsUNORM8, 0, 31) |
513 __gen_float(values->AlphaReferenceValueAsFLOAT32);
516 __gen_float(values->BlendConstantColorRed);
519 __gen_float(values->BlendConstantColorGreen);
522 __gen_float(values->BlendConstantColorBlue);
525 __gen_float(values->BlendConstantColorAlpha);
553 __attribute__((unused)) const struct GFX7_DEPTH_STENCIL_STATE * restrict values)
558 __gen_uint(values->BackfaceStencilPassDepthPassOp, 3, 5) |
559 __gen_uint(values->BackfaceStencilPassDepthFailOp, 6, 8) |
560 __gen_uint(values->BackfaceStencilFailOp, 9, 11) |
561 __gen_uint(values->BackfaceStencilTestFunction, 12, 14) |
562 __gen_uint(values->DoubleSidedStencilEnable, 15, 15) |
563 __gen_uint(values->StencilBufferWriteEnable, 18, 18) |
564 __gen_uint(values->StencilPassDepthPassOp, 19, 21) |
565 __gen_uint(values->StencilPassDepthFailOp, 22, 24) |
566 __gen_uint(values->StencilFailOp, 25, 27) |
567 __gen_uint(values->StencilTestFunction, 28, 30) |
568 __gen_uint(values->StencilTestEnable, 31, 31);
571 __gen_uint(values->BackfaceStencilWriteMask, 0, 7) |
572 __gen_uint(values->BackfaceStencilTestMask, 8, 15) |
573 __gen_uint(values->StencilWriteMask, 16, 23) |
574 __gen_uint(values->StencilTestMask, 24, 31);
577 __gen_uint(values->DepthBufferWriteEnable, 26, 26) |
578 __gen_uint(values->DepthTestFunction, 27, 29) |
579 __gen_uint(values->DepthTestEnable, 31, 31);
612 __attribute__((unused)) const struct GFX7_INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT * restrict values)
617 __gen_uint(values->MBErrorConcealmentPSliceWeightPredictionDisable, 0, 0) |
618 __gen_uint(values->MBErrorConcealmentPSliceMotionVectorsOverrideDisable, 1, 1) |
619 __gen_uint(values->MBErrorConcealmentPSliceReferenceIndexOverrideDisable, 2, 2) |
620 __gen_uint(values->MBErrorConcealmentBSpatialWeightPredictionDisable, 3, 3) |
621 __gen_uint(values->MBErrorConcealmentBSpatialMotionVectorsOverrideDisable, 4, 4) |
622 __gen_uint(values->MBErrorConcealmentBSpatialReferenceIndexOverrideDisable, 5, 5) |
623 __gen_uint(values->MBErrorConcealmentBSpatialPredictionMode, 6, 7) |
624 __gen_uint(values->MBHeaderErrorHandling, 8, 8) |
625 __gen_uint(values->EntropyErrorHandling, 10, 10) |
626 __gen_uint(values->MPRErrorHandling, 12, 12) |
627 __gen_uint(values->BSDPrematureCompleteErrorHandling, 14, 14) |
628 __gen_uint(values->ConcealmentPictureID, 16, 21) |
629 __gen_uint(values->MBErrorConcealmentBTemporalWeightPredictionDisable, 24, 24) |
630 __gen_uint(values->MBErrorConcealmentBTemporalMotionVectorsOverrideEnable, 25, 25) |
631 __gen_uint(values->MBErrorConcealmentBTemporalReferenceIndexOverrideEnable, 26, 26) |
632 __gen_uint(values->MBErrorConcealmentBTemporalPredictionMode, 27, 28) |
633 __gen_uint(values->InitCurrentMBNumber, 30, 30) |
634 __gen_uint(values->ConcealmentMethod, 31, 31);
637 __gen_uint(values->FirstMBBitOffset, 0, 2) |
638 __gen_uint(values->LastSlice, 3, 3) |
639 __gen_uint(values->EmulationPreventionBytePresent, 4, 4) |
640 __gen_uint(values->FixPrevMBSkipped, 7, 7) |
641 __gen_uint(values->FirstMBByteOffsetofSliceDataorSliceHeader, 16, 31);
681 __attribute__((unused)) const struct GFX7_INTERFACE_DESCRIPTOR_DATA * restrict values)
686 __gen_offset(values->KernelStartPointer, 6, 31);
689 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
690 __gen_uint(values->MaskStackExceptionEnable, 11, 11) |
691 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
692 __gen_uint(values->FloatingPointMode, 16, 16) |
693 __gen_uint(values->ThreadPriority, 17, 17) |
694 __gen_uint(values->SingleProgramFlow, 18, 18);
697 __gen_uint(values->SamplerCount, 2, 4) |
698 __gen_offset(values->SamplerStatePointer, 5, 31);
701 __gen_uint(values->BindingTableEntryCount, 0, 4) |
702 __gen_offset(values->BindingTablePointer, 5, 15);
705 __gen_uint(values->ConstantURBEntryReadOffset, 0, 15) |
706 __gen_uint(values->ConstantURBEntryReadLength, 16, 31);
709 __gen_uint(values->NumberofThreadsinGPGPUThreadGroup, 0, 7) |
710 __gen_uint(values->SharedLocalMemorySize, 16, 20) |
711 __gen_uint(values->BarrierEnable, 21, 21) |
712 __gen_uint(values->RoundingMode, 22, 23);
729 __attribute__((unused)) const struct GFX7_MEMORY_OBJECT_CONTROL_STATE * restrict values)
734 __gen_uint(values->L3CacheabilityControlL3CC, 0, 0) |
735 __gen_uint(values->LLCCacheabilityControlLLCCC, 1, 1) |
736 __gen_uint(values->GraphicsDataTypeGFDT, 2, 2);
753 __attribute__((unused)) const struct GFX7_MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION * restrict values)
758 __gen_uint(values->FirstMBBitOffset, 0, 2) |
759 __gen_uint(values->LastMB, 3, 3) |
760 __gen_uint(values->LastPicSlice, 5, 5) |
761 __gen_uint(values->MBCount, 8, 14) |
762 __gen_uint(values->SliceVerticalPosition, 16, 22) |
763 __gen_uint(values->SliceHorizontalPosition, 24, 30);
766 __gen_uint(values->QuantizerScaleCode, 24, 28);
780 __attribute__((unused)) const struct GFX7_PALETTE_ENTRY * restrict values)
785 __gen_uint(values->Blue, 0, 7) |
786 __gen_uint(values->Green, 8, 15) |
787 __gen_uint(values->Red, 16, 23) |
788 __gen_uint(values->Alpha, 24, 31);
880 __attribute__((unused)) const struct GFX7_RENDER_SURFACE_STATE * restrict values)
885 __gen_uint(values->CubeFaceEnablePositiveZ, 0, 0) |
886 __gen_uint(values->CubeFaceEnableNegativeZ, 1, 1) |
887 __gen_uint(values->CubeFaceEnablePositiveY, 2, 2) |
888 __gen_uint(values->CubeFaceEnableNegativeY, 3, 3) |
889 __gen_uint(values->CubeFaceEnablePositiveX, 4, 4) |
890 __gen_uint(values->CubeFaceEnableNegativeX, 5, 5) |
891 __gen_uint(values->MediaBoundaryPixelMode, 6, 7) |
892 __gen_uint(values->RenderCacheReadWriteMode, 8, 8) |
893 __gen_uint(values->SurfaceArraySpacing, 10, 10) |
894 __gen_uint(values->VerticalLineStrideOffset, 11, 11) |
895 __gen_uint(values->VerticalLineStride, 12, 12) |
896 __gen_uint(values->TileWalk, 13, 13) |
897 __gen_uint(values->TiledSurface, 14, 14) |
898 __gen_uint(values->SurfaceHorizontalAlignment, 15, 15) |
899 __gen_uint(values->SurfaceVerticalAlignment, 16, 17) |
900 __gen_uint(values->SurfaceFormat, 18, 26) |
901 __gen_uint(values->SurfaceArray, 28, 28) |
902 __gen_uint(values->SurfaceType, 29, 31);
904 dw[1] = __gen_address(data, &dw[1], values->SurfaceBaseAddress, 0, 0, 31);
907 __gen_uint(values->Width, 0, 13) |
908 __gen_uint(values->Height, 16, 29);
911 __gen_uint(values->SurfacePitch, 0, 17) |
912 __gen_uint(values->Depth, 21, 31);
915 __gen_uint(values->MultisamplePositionPaletteIndex, 0, 2) |
916 __gen_uint(values->StrbufMinimumArrayElement, 0, 26) |
917 __gen_uint(values->NumberofMultisamples, 3, 5) |
918 __gen_uint(values->MultisampledSurfaceStorageFormat, 6, 6) |
919 __gen_uint(values->RenderTargetViewExtent, 7, 17) |
920 __gen_uint(values->MinimumArrayElement, 18, 28) |
921 __gen_uint(values->RenderTargetRotation, 29, 30);
924 __gen_uint(values->MIPCountLOD, 0, 3) |
925 __gen_uint(values->SurfaceMinLOD, 4, 7) |
926 __gen_uint(values->MOCS, 16, 19) |
927 __gen_uint(values->YOffset, 20, 23) |
928 __gen_uint(values->XOffset, 25, 31);
931 __gen_uint(values->MCSEnable, 0, 0) |
932 __gen_uint(values->YOffsetforUVPlane, 0, 13) |
933 __gen_uint(values->AppendCounterEnable, 1, 1) |
934 __gen_uint(values->AuxiliarySurfacePitch, 3, 11) |
935 __gen_uint(values->XOffsetforUVPlane, 16, 29) |
936 __gen_uint(values->ReservedMBZ, 30, 31);
937 dw[6] = __gen_address(data, &dw[6], values->AuxiliarySurfaceBaseAddress, v6, 12, 31);
940 __gen_ufixed(values->ResourceMinLOD, 0, 11, 8) |
941 __gen_uint(values->AlphaClearColor, 28, 28) |
942 __gen_uint(values->BlueClearColor, 29, 29) |
943 __gen_uint(values->GreenClearColor, 30, 30) |
944 __gen_uint(values->RedClearColor, 31, 31);
962 __attribute__((unused)) const struct GFX7_SAMPLER_BORDER_COLOR_STATE * restrict values)
967 __gen_uint(values->BorderColorUnormRed, 0, 7) |
968 __gen_float(values->BorderColorFloatRed) |
969 __gen_uint(values->BorderColorUnormGreen, 8, 15) |
970 __gen_uint(values->BorderColorUnormBlue, 16, 23) |
971 __gen_uint(values->BorderColorUnormAlpha, 24, 31);
974 __gen_float(values->BorderColorFloatGreen);
977 __gen_float(values->BorderColorFloatBlue);
980 __gen_float(values->BorderColorFloatAlpha);
1058 __attribute__((unused)) const struct GFX7_SAMPLER_STATE * restrict values)
1063 __gen_uint(values->AnisotropicAlgorithm, 0, 0) |
1064 __gen_sfixed(values->TextureLODBias, 1, 13, 8) |
1065 __gen_uint(values->MinModeFilter, 14, 16) |
1066 __gen_uint(values->MagModeFilter, 17, 19) |
1067 __gen_uint(values->MipModeFilter, 20, 21) |
1068 __gen_ufixed(values->BaseMipLevel, 22, 26, 1) |
1069 __gen_uint(values->LODPreClampEnable, 28, 28) |
1070 __gen_uint(values->TextureBorderColorMode, 29, 29) |
1071 __gen_uint(values->SamplerDisable, 31, 31);
1074 __gen_uint(values->CubeSurfaceControlMode, 0, 0) |
1075 __gen_uint(values->ShadowFunction, 1, 3) |
1076 __gen_ufixed(values->MaxLOD, 8, 19, 8) |
1077 __gen_ufixed(values->MinLOD, 20, 31, 8);
1080 __gen_offset(values->BorderColorPointer, 5, 31);
1083 __gen_uint(values->TCZAddressControlMode, 0, 2) |
1084 __gen_uint(values->TCYAddressControlMode, 3, 5) |
1085 __gen_uint(values->TCXAddressControlMode, 6, 8) |
1086 __gen_uint(values->NonnormalizedCoordinateEnable, 10, 10) |
1087 __gen_uint(values->TrilinearFilterQuality, 11, 12) |
1088 __gen_uint(values->RAddressMinFilterRoundingEnable, 13, 13) |
1089 __gen_uint(values->RAddressMagFilterRoundingEnable, 14, 14) |
1090 __gen_uint(values->VAddressMinFilterRoundingEnable, 15, 15) |
1091 __gen_uint(values->VAddressMagFilterRoundingEnable, 16, 16) |
1092 __gen_uint(values->UAddressMinFilterRoundingEnable, 17, 17) |
1093 __gen_uint(values->UAddressMagFilterRoundingEnable, 18, 18) |
1094 __gen_uint(values->MaximumAnisotropy, 19, 21) |
1095 __gen_uint(values->ChromaKeyMode, 22, 22) |
1096 __gen_uint(values->ChromaKeyIndex, 23, 24) |
1097 __gen_uint(values->ChromaKeyEnable, 25, 25);
1111 __attribute__((unused)) const struct GFX7_SCISSOR_RECT * restrict values)
1116 __gen_uint(values->ScissorRectangleXMin, 0, 15) |
1117 __gen_uint(values->ScissorRectangleYMin, 16, 31);
1120 __gen_uint(values->ScissorRectangleXMax, 0, 15) |
1121 __gen_uint(values->ScissorRectangleYMax, 16, 31);
1141 __attribute__((unused)) const struct GFX7_SF_CLIP_VIEWPORT * restrict values)
1146 __gen_float(values->ViewportMatrixElementm00);
1149 __gen_float(values->ViewportMatrixElementm11);
1152 __gen_float(values->ViewportMatrixElementm22);
1155 __gen_float(values->ViewportMatrixElementm30);
1158 __gen_float(values->ViewportMatrixElementm31);
1161 __gen_float(values->ViewportMatrixElementm32);
1168 __gen_float(values->XMinClipGuardband);
1171 __gen_float(values->XMaxClipGuardband);
1174 __gen_float(values->YMinClipGuardband);
1177 __gen_float(values->YMaxClipGuardband);
1211 __attribute__((unused)) const struct GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL * restrict values)
1216 __gen_uint(values->SourceAttribute, 0, 4) |
1217 __gen_uint(values->SwizzleSelect, 6, 7) |
1218 __gen_uint(values->ConstantSource, 9, 10) |
1219 __gen_uint(values->SwizzleControlMode, 11, 11) |
1220 __gen_uint(values->ComponentOverrideX, 12, 12) |
1221 __gen_uint(values->ComponentOverrideY, 13, 13) |
1222 __gen_uint(values->ComponentOverrideZ, 14, 14) |
1223 __gen_uint(values->ComponentOverrideW, 15, 15);
1237 __attribute__((unused)) const struct GFX7_SO_DECL * restrict values)
1242 __gen_uint(values->ComponentMask, 0, 3) |
1243 __gen_uint(values->RegisterIndex, 4, 9) |
1244 __gen_uint(values->HoleFlag, 11, 11) |
1245 __gen_uint(values->OutputBufferSlot, 12, 13);
1259 __attribute__((unused)) const struct GFX7_SO_DECL_ENTRY * restrict values)
1264 GFX7_SO_DECL_pack(data, &v0_0, &values->Stream0Decl);
1267 GFX7_SO_DECL_pack(data, &v0_1, &values->Stream1Decl);
1274 GFX7_SO_DECL_pack(data, &v1_0, &values->Stream2Decl);
1277 GFX7_SO_DECL_pack(data, &v1_1, &values->Stream3Decl);
1303 __attribute__((unused)) const struct GFX7_VERTEX_BUFFER_STATE * restrict values)
1308 __gen_uint(values->BufferPitch, 0, 11) |
1309 __gen_uint(values->VertexFetchInvalidate, 12, 12) |
1310 __gen_uint(values->NullVertexBuffer, 13, 13) |
1311 __gen_uint(values->AddressModifyEnable, 14, 14) |
1312 __gen_uint(values->MOCS, 16, 19) |
1313 __gen_uint(values->BufferAccessType, 20, 20) |
1314 __gen_uint(values->VertexBufferIndex, 26, 31);
1316 dw[1] = __gen_address(data, &dw[1], values->BufferStartingAddress, 0, 0, 31);
1318 dw[2] = __gen_address(data, &dw[2], values->EndAddress, 0, 0, 31);
1321 __gen_uint(values->InstanceDataStepRate, 0, 31);
1340 __attribute__((unused)) const struct GFX7_VERTEX_ELEMENT_STATE * restrict values)
1345 __gen_uint(values->SourceElementOffset, 0, 11) |
1346 __gen_uint(values->EdgeFlagEnable, 15, 15) |
1347 __gen_uint(values->SourceElementFormat, 16, 24) |
1348 __gen_uint(values->Valid, 25, 25) |
1349 __gen_uint(values->VertexBufferIndex, 26, 31);
1352 __gen_uint(values->Component3Control, 16, 18) |
1353 __gen_uint(values->Component2Control, 20, 22) |
1354 __gen_uint(values->Component1Control, 24, 26) |
1355 __gen_uint(values->Component0Control, 28, 30);
1390 __attribute__((unused)) const struct GFX7_3DPRIMITIVE * restrict values)
1395 __gen_uint(values->DWordLength, 0, 7) |
1396 __gen_uint(values->PredicateEnable, 8, 8) |
1397 __gen_uint(values->IndirectParameterEnable, 10, 10) |
1398 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1399 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1400 __gen_uint(values->CommandSubType, 27, 28) |
1401 __gen_uint(values->CommandType, 29, 31);
1404 __gen_uint(values->PrimitiveTopologyType, 0, 5) |
1405 __gen_uint(values->VertexAccessType, 8, 8) |
1406 __gen_uint(values->EndOffsetEnable, 9, 9);
1409 __gen_uint(values->VertexCountPerInstance, 0, 31);
1412 __gen_uint(values->StartVertexLocation, 0, 31);
1415 __gen_uint(values->InstanceCount, 0, 31);
1418 __gen_uint(values->StartInstanceLocation, 0, 31);
1421 __gen_sint(values->BaseVertexLocation, 0, 31);
1448 __attribute__((unused)) const struct GFX7_3DSTATE_AA_LINE_PARAMETERS * restrict values)
1453 __gen_uint(values->DWordLength, 0, 7) |
1454 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1455 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1456 __gen_uint(values->CommandSubType, 27, 28) |
1457 __gen_uint(values->CommandType, 29, 31);
1460 __gen_ufixed(values->AACoverageSlope, 0, 7, 8) |
1461 __gen_ufixed(values->AACoverageBias, 16, 23, 8);
1464 __gen_ufixed(values->AACoverageEndCapSlope, 0, 7, 8) |
1465 __gen_ufixed(values->AACoverageEndCapBias, 16, 23, 8);
1489 __attribute__((unused)) const struct GFX7_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
1494 __gen_uint(values->DWordLength, 0, 7) |
1495 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1496 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1497 __gen_uint(values->CommandSubType, 27, 28) |
1498 __gen_uint(values->CommandType, 29, 31);
1501 __gen_offset(values->PointertoDSBindingTable, 5, 15);
1525 __attribute__((unused)) const struct GFX7_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
1530 __gen_uint(values->DWordLength, 0, 7) |
1531 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1532 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1533 __gen_uint(values->CommandSubType, 27, 28) |
1534 __gen_uint(values->CommandType, 29, 31);
1537 __gen_offset(values->PointertoGSBindingTable, 5, 15);
1561 __attribute__((unused)) const struct GFX7_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
1566 __gen_uint(values->DWordLength, 0, 7) |
1567 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1568 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1569 __gen_uint(values->CommandSubType, 27, 28) |
1570 __gen_uint(values->CommandType, 29, 31);
1573 __gen_offset(values->PointertoHSBindingTable, 5, 15);
1597 __attribute__((unused)) const struct GFX7_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
1602 __gen_uint(values->DWordLength, 0, 7) |
1603 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1604 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1605 __gen_uint(values->CommandSubType, 27, 28) |
1606 __gen_uint(values->CommandType, 29, 31);
1609 __gen_offset(values->PointertoPSBindingTable, 5, 15);
1633 __attribute__((unused)) const struct GFX7_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
1638 __gen_uint(values->DWordLength, 0, 7) |
1639 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1640 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1641 __gen_uint(values->CommandSubType, 27, 28) |
1642 __gen_uint(values->CommandType, 29, 31);
1645 __gen_offset(values->PointertoVSBindingTable, 5, 15);
1669 __attribute__((unused)) const struct GFX7_3DSTATE_BLEND_STATE_POINTERS * restrict values)
1674 __gen_uint(values->DWordLength, 0, 7) |
1675 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1676 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1677 __gen_uint(values->CommandSubType, 27, 28) |
1678 __gen_uint(values->CommandType, 29, 31);
1682 __gen_offset(values->BlendStatePointer, 6, 31);
1706 __attribute__((unused)) const struct GFX7_3DSTATE_CC_STATE_POINTERS * restrict values)
1711 __gen_uint(values->DWordLength, 0, 7) |
1712 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1713 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1714 __gen_uint(values->CommandSubType, 27, 28) |
1715 __gen_uint(values->CommandType, 29, 31);
1719 __gen_offset(values->ColorCalcStatePointer, 6, 31);
1745 __attribute__((unused)) const struct GFX7_3DSTATE_CHROMA_KEY * restrict values)
1750 __gen_uint(values->DWordLength, 0, 7) |
1751 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1752 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1753 __gen_uint(values->CommandSubType, 27, 28) |
1754 __gen_uint(values->CommandType, 29, 31);
1757 __gen_uint(values->ChromaKeyTableIndex, 30, 31);
1760 __gen_uint(values->ChromaKeyLowValue, 0, 31);
1763 __gen_uint(values->ChromaKeyHighValue, 0, 31);
1788 __attribute__((unused)) const struct GFX7_3DSTATE_CLEAR_PARAMS * restrict values)
1793 __gen_uint(values->DWordLength, 0, 7) |
1794 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1795 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1796 __gen_uint(values->CommandSubType, 27, 28) |
1797 __gen_uint(values->CommandType, 29, 31);
1800 __gen_uint(values->DepthClearValue, 0, 31);
1803 __gen_uint(values->DepthClearValueValid, 0, 0);
1865 __attribute__((unused)) const struct GFX7_3DSTATE_CLIP * restrict values)
1870 __gen_uint(values->DWordLength, 0, 7) |
1871 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1872 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1873 __gen_uint(values->CommandSubType, 27, 28) |
1874 __gen_uint(values->CommandType, 29, 31);
1877 __gen_uint(values->UserClipDistanceCullTestEnableBitmask, 0, 7) |
1878 __gen_uint(values->StatisticsEnable, 10, 10) |
1879 __gen_uint(values->CullMode, 16, 17) |
1880 __gen_uint(values->EarlyCullEnable, 18, 18) |
1881 __gen_uint(values->VertexSubPixelPrecisionSelect, 19, 19) |
1882 __gen_uint(values->FrontWinding, 20, 20);
1885 __gen_uint(values->TriangleFanProvokingVertexSelect, 0, 1) |
1886 __gen_uint(values->LineStripListProvokingVertexSelect, 2, 3) |
1887 __gen_uint(values->TriangleStripListProvokingVertexSelect, 4, 5) |
1888 __gen_uint(values->NonPerspectiveBarycentricEnable, 8, 8) |
1889 __gen_uint(values->PerspectiveDivideDisable, 9, 9) |
1890 __gen_uint(values->ClipMode, 13, 15) |
1891 __gen_uint(values->UserClipDistanceClipTestEnableBitmask, 16, 23) |
1892 __gen_uint(values->GuardbandClipTestEnable, 26, 26) |
1893 __gen_uint(values->ViewportZClipTestEnable, 27, 27) |
1894 __gen_uint(values->ViewportXYClipTestEnable, 28, 28) |
1895 __gen_uint(values->APIMode, 30, 30) |
1896 __gen_uint(values->ClipEnable, 31, 31);
1899 __gen_uint(values->MaximumVPIndex, 0, 3) |
1900 __gen_uint(values->ForceZeroRTAIndexEnable, 5, 5) |
1901 __gen_ufixed(values->MaximumPointWidth, 6, 16, 3) |
1902 __gen_ufixed(values->MinimumPointWidth, 17, 27, 3);
1926 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_DS * restrict values)
1931 __gen_uint(values->DWordLength, 0, 7) |
1932 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1933 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1934 __gen_uint(values->CommandSubType, 27, 28) |
1935 __gen_uint(values->CommandType, 29, 31);
1937 GFX7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
1961 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_GS * restrict values)
1966 __gen_uint(values->DWordLength, 0, 7) |
1967 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
1968 __gen_uint(values->_3DCommandOpcode, 24, 26) |
1969 __gen_uint(values->CommandSubType, 27, 28) |
1970 __gen_uint(values->CommandType, 29, 31);
1972 GFX7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
1996 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_HS * restrict values)
2001 __gen_uint(values->DWordLength, 0, 7) |
2002 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2003 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2004 __gen_uint(values->CommandSubType, 27, 28) |
2005 __gen_uint(values->CommandType, 29, 31);
2007 GFX7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
2031 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_PS * restrict values)
2036 __gen_uint(values->DWordLength, 0, 7) |
2037 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2038 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2039 __gen_uint(values->CommandSubType, 27, 28) |
2040 __gen_uint(values->CommandType, 29, 31);
2042 GFX7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
2066 __attribute__((unused)) const struct GFX7_3DSTATE_CONSTANT_VS * restrict values)
2071 __gen_uint(values->DWordLength, 0, 7) |
2072 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2073 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2074 __gen_uint(values->CommandSubType, 27, 28) |
2075 __gen_uint(values->CommandType, 29, 31);
2077 GFX7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
2125 __attribute__((unused)) const struct GFX7_3DSTATE_DEPTH_BUFFER * restrict values)
2130 __gen_uint(values->DWordLength, 0, 7) |
2131 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2132 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2133 __gen_uint(values->CommandSubType, 27, 28) |
2134 __gen_uint(values->CommandType, 29, 31);
2137 __gen_uint(values->SurfacePitch, 0, 17) |
2138 __gen_uint(values->SurfaceFormat, 18, 20) |
2139 __gen_uint(values->HierarchicalDepthBufferEnable, 22, 22) |
2140 __gen_uint(values->StencilWriteEnable, 27, 27) |
2141 __gen_uint(values->DepthWriteEnable, 28, 28) |
2142 __gen_uint(values->SurfaceType, 29, 31);
2144 dw[2] = __gen_address(data, &dw[2], values->SurfaceBaseAddress, 0, 0, 31);
2147 __gen_uint(values->LOD, 0, 3) |
2148 __gen_uint(values->Width, 4, 17) |
2149 __gen_uint(values->Height, 18, 31);
2152 __gen_uint(values->MOCS, 0, 3) |
2153 __gen_uint(values->MinimumArrayElement, 10, 20) |
2154 __gen_uint(values->Depth, 21, 31);
2157 __gen_sint(values->DepthCoordinateOffsetX, 0, 15) |
2158 __gen_sint(values->DepthCoordinateOffsetY, 16, 31);
2161 __gen_uint(values->RenderTargetViewExtent, 21, 31);
2185 __attribute__((unused)) const struct GFX7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS * restrict values)
2190 __gen_uint(values->DWordLength, 0, 7) |
2191 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2192 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2193 __gen_uint(values->CommandSubType, 27, 28) |
2194 __gen_uint(values->CommandType, 29, 31);
2198 __gen_offset(values->PointertoDEPTH_STENCIL_STATE, 6, 31);
2227 __attribute__((unused)) const struct GFX7_3DSTATE_DRAWING_RECTANGLE * restrict values)
2232 __gen_uint(values->DWordLength, 0, 7) |
2233 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2234 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2235 __gen_uint(values->CommandSubType, 27, 28) |
2236 __gen_uint(values->CommandType, 29, 31);
2239 __gen_uint(values->ClippedDrawingRectangleXMin, 0, 15) |
2240 __gen_uint(values->ClippedDrawingRectangleYMin, 16, 31);
2243 __gen_uint(values->ClippedDrawingRectangleXMax, 0, 15) |
2244 __gen_uint(values->ClippedDrawingRectangleYMax, 16, 31);
2247 __gen_sint(values->DrawingRectangleOriginX, 0, 15) |
2248 __gen_sint(values->DrawingRectangleOriginY, 16, 31);
2296 __attribute__((unused)) const struct GFX7_3DSTATE_DS * restrict values)
2301 __gen_uint(values->DWordLength, 0, 7) |
2302 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2303 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2304 __gen_uint(values->CommandSubType, 27, 28) |
2305 __gen_uint(values->CommandType, 29, 31);
2308 __gen_offset(values->KernelStartPointer, 6, 31);
2311 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
2312 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
2313 __gen_uint(values->FloatingPointMode, 16, 16) |
2314 __gen_uint(values->BindingTableEntryCount, 18, 25) |
2315 __gen_uint(values->SamplerCount, 27, 29) |
2316 __gen_uint(values->VectorMaskEnable, 30, 30) |
2317 __gen_uint(values->SingleDomainPointDispatch, 31, 31);
2320 __gen_uint(values->PerThreadScratchSpace, 0, 3);
2321 dw[3] = __gen_address(data, &dw[3], values->ScratchSpaceBasePointer, v3, 10, 31);
2324 __gen_uint(values->PatchURBEntryReadOffset, 4, 9) |
2325 __gen_uint(values->PatchURBEntryReadLength, 11, 17) |
2326 __gen_uint(values->DispatchGRFStartRegisterForURBData, 20, 24);
2329 __gen_uint(values->Enable, 0, 0) |
2330 __gen_uint(values->DSCacheDisable, 1, 1) |
2331 __gen_uint(values->ComputeWCoordinateEnable, 2, 2) |
2332 __gen_uint(values->StatisticsEnable, 10, 10) |
2333 __gen_uint(values->MaximumNumberofThreads, 25, 31);
2404 __attribute__((unused)) const struct GFX7_3DSTATE_GS * restrict values)
2409 __gen_uint(values->DWordLength, 0, 7) |
2410 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2411 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2412 __gen_uint(values->CommandSubType, 27, 28) |
2413 __gen_uint(values->CommandType, 29, 31);
2416 __gen_offset(values->KernelStartPointer, 6, 31);
2419 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
2420 __gen_uint(values->MaskStackExceptionEnable, 11, 11) |
2421 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
2422 __gen_uint(values->FloatingPointMode, 16, 16) |
2423 __gen_uint(values->ThreadPriority, 17, 17) |
2424 __gen_uint(values->BindingTableEntryCount, 18, 25) |
2425 __gen_uint(values->SamplerCount, 27, 29) |
2426 __gen_uint(values->VectorMaskEnable, 30, 30) |
2427 __gen_uint(values->SingleProgramFlow, 31, 31);
2430 __gen_uint(values->PerThreadScratchSpace, 0, 3);
2431 dw[3] = __gen_address(data, &dw[3], values->ScratchSpaceBasePointer, v3, 10, 31);
2434 __gen_uint(values->DispatchGRFStartRegisterForURBData, 0, 3) |
2435 __gen_uint(values->VertexURBEntryReadOffset, 4, 9) |
2436 __gen_uint(values->IncludeVertexHandles, 10, 10) |
2437 __gen_uint(values->VertexURBEntryReadLength, 11, 16) |
2438 __gen_uint(values->OutputTopology, 17, 22) |
2439 __gen_uint(values->OutputVertexSize, 23, 28);
2442 __gen_uint(values->Enable, 0, 0) |
2443 __gen_uint(values->DiscardAdjacency, 1, 1) |
2444 __gen_uint(values->ReorderMode, 2, 2) |
2445 __gen_uint(values->Hint, 3, 3) |
2446 __gen_uint(values->IncludePrimitiveID, 4, 4) |
2447 __gen_uint(values->GSInvocationsIncrementValue, 5, 9) |
2448 __gen_uint(values->StatisticsEnable, 10, 10) |
2449 __gen_uint(values->DispatchMode, 11, 12) |
2450 __gen_uint(values->DefaultStreamID, 13, 14) |
2451 __gen_uint(values->InstanceControl, 15, 19) |
2452 __gen_uint(values->ControlDataHeaderSize, 20, 23) |
2453 __gen_uint(values->ControlDataFormat, 24, 24) |
2454 __gen_uint(values->MaximumNumberofThreads, 25, 31);
2457 __gen_offset(values->SemaphoreHandle, 0, 11);
2483 __attribute__((unused)) const struct GFX7_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
2488 __gen_uint(values->DWordLength, 0, 7) |
2489 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2490 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2491 __gen_uint(values->CommandSubType, 27, 28) |
2492 __gen_uint(values->CommandType, 29, 31);
2495 __gen_uint(values->SurfacePitch, 0, 16) |
2496 __gen_uint(values->MOCS, 25, 28);
2498 dw[2] = __gen_address(data, &dw[2], values->SurfaceBaseAddress, 0, 0, 31);
2547 __attribute__((unused)) const struct GFX7_3DSTATE_HS * restrict values)
2552 __gen_uint(values->DWordLength, 0, 7) |
2553 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2554 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2555 __gen_uint(values->CommandSubType, 27, 28) |
2556 __gen_uint(values->CommandType, 29, 31);
2559 __gen_uint(values->MaximumNumberofThreads, 0, 6) |
2560 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
2561 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
2562 __gen_uint(values->FloatingPointMode, 16, 16) |
2563 __gen_uint(values->BindingTableEntryCount, 18, 25) |
2564 __gen_uint(values->SamplerCount, 27, 29);
2567 __gen_uint(values->InstanceCount, 0, 3) |
2568 __gen_uint(values->StatisticsEnable, 29, 29) |
2569 __gen_uint(values->Enable, 31, 31);
2572 __gen_offset(values->KernelStartPointer, 6, 31);
2575 __gen_uint(values->PerThreadScratchSpace, 0, 3);
2576 dw[4] = __gen_address(data, &dw[4], values->ScratchSpaceBasePointer, v4, 10, 31);
2579 __gen_uint(values->VertexURBEntryReadOffset, 4, 9) |
2580 __gen_uint(values->VertexURBEntryReadLength, 11, 16) |
2581 __gen_uint(values->DispatchGRFStartRegisterForURBData, 19, 23) |
2582 __gen_uint(values->IncludeVertexHandles, 24, 24) |
2583 __gen_uint(values->VectorMaskEnable, 26, 26) |
2584 __gen_uint(values->SingleProgramFlow, 27, 27);
2587 __gen_offset(values->SemaphoreHandle, 0, 11);
2618 __attribute__((unused)) const struct GFX7_3DSTATE_INDEX_BUFFER * restrict values)
2623 __gen_uint(values->DWordLength, 0, 7) |
2624 __gen_uint(values->IndexFormat, 8, 9) |
2625 __gen_uint(values->CutIndexEnable, 10, 10) |
2626 __gen_uint(values->MOCS, 12, 15) |
2627 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2628 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2629 __gen_uint(values->CommandSubType, 27, 28) |
2630 __gen_uint(values->CommandType, 29, 31);
2632 dw[1] = __gen_address(data, &dw[1], values->BufferStartingAddress, 0, 0, 31);
2634 dw[2] = __gen_address(data, &dw[2], values->BufferEndingAddress, 0, 0, 31);
2663 __attribute__((unused)) const struct GFX7_3DSTATE_LINE_STIPPLE * restrict values)
2668 __gen_uint(values->DWordLength, 0, 7) |
2669 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2670 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2671 __gen_uint(values->CommandSubType, 27, 28) |
2672 __gen_uint(values->CommandType, 29, 31);
2675 __gen_uint(values->LineStipplePattern, 0, 15) |
2676 __gen_uint(values->CurrentStippleIndex, 16, 19) |
2677 __gen_uint(values->CurrentRepeatCounter, 21, 29) |
2678 __gen_uint(values->ModifyEnableCurrentRepeatCounterCurrentStippleIndex, 31, 31);
2681 __gen_uint(values->LineStippleRepeatCount, 0, 8) |
2682 __gen_ufixed(values->LineStippleInverseRepeatCount, 15, 31, 16);
2707 __attribute__((unused)) const struct GFX7_3DSTATE_MONOFILTER_SIZE * restrict values)
2712 __gen_uint(values->DWordLength, 0, 7) |
2713 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2714 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2715 __gen_uint(values->CommandSubType, 27, 28) |
2716 __gen_uint(values->CommandType, 29, 31);
2719 __gen_uint(values->MonochromeFilterHeight, 0, 2) |
2720 __gen_uint(values->MonochromeFilterWidth, 3, 5);
2766 __attribute__((unused)) const struct GFX7_3DSTATE_MULTISAMPLE * restrict values)
2771 __gen_uint(values->DWordLength, 0, 7) |
2772 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2773 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2774 __gen_uint(values->CommandSubType, 27, 28) |
2775 __gen_uint(values->CommandType, 29, 31);
2778 __gen_uint(values->NumberofMultisamples, 1, 3) |
2779 __gen_uint(values->PixelLocation, 4, 4);
2782 __gen_ufixed(values->Sample0YOffset, 0, 3, 4) |
2783 __gen_ufixed(values->Sample0XOffset, 4, 7, 4) |
2784 __gen_ufixed(values->Sample1YOffset, 8, 11, 4) |
2785 __gen_ufixed(values->Sample1XOffset, 12, 15, 4) |
2786 __gen_ufixed(values->Sample2YOffset, 16, 19, 4) |
2787 __gen_ufixed(values->Sample2XOffset, 20, 23, 4) |
2788 __gen_ufixed(values->Sample3YOffset, 24, 27, 4) |
2789 __gen_ufixed(values->Sample3XOffset, 28, 31, 4);
2792 __gen_ufixed(values->Sample4YOffset, 0, 3, 4) |
2793 __gen_ufixed(values->Sample4XOffset, 4, 7, 4) |
2794 __gen_ufixed(values->Sample5YOffset, 8, 11, 4) |
2795 __gen_ufixed(values->Sample5XOffset, 12, 15, 4) |
2796 __gen_ufixed(values->Sample6YOffset, 16, 19, 4) |
2797 __gen_ufixed(values->Sample6XOffset, 20, 23, 4) |
2798 __gen_ufixed(values->Sample7YOffset, 24, 27, 4) |
2799 __gen_ufixed(values->Sample7XOffset, 28, 31, 4);
2824 __attribute__((unused)) const struct GFX7_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
2829 __gen_uint(values->DWordLength, 0, 7) |
2830 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2831 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2832 __gen_uint(values->CommandSubType, 27, 28) |
2833 __gen_uint(values->CommandType, 29, 31);
2836 __gen_uint(values->PolygonStippleYOffset, 0, 4) |
2837 __gen_uint(values->PolygonStippleXOffset, 8, 12);
2861 __attribute__((unused)) const struct GFX7_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
2866 __gen_uint(values->DWordLength, 0, 7) |
2867 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
2868 __gen_uint(values->_3DCommandOpcode, 24, 26) |
2869 __gen_uint(values->CommandSubType, 27, 28) |
2870 __gen_uint(values->CommandType, 29, 31);
2873 __gen_uint(values->PatternRow[0], 0, 31);
2876 __gen_uint(values->PatternRow[1], 0, 31);
2879 __gen_uint(values->PatternRow[2], 0, 31);
2882 __gen_uint(values->PatternRow[3], 0, 31);
2885 __gen_uint(values->PatternRow[4], 0, 31);
2888 __gen_uint(values->PatternRow[5], 0, 31);
2891 __gen_uint(values->PatternRow[6], 0, 31);
2894 __gen_uint(values->PatternRow[7], 0, 31);
2897 __gen_uint(values->PatternRow[8], 0, 31);
2900 __gen_uint(values->PatternRow[9], 0, 31);
2903 __gen_uint(values->PatternRow[10], 0, 31);
2906 __gen_uint(values->PatternRow[11], 0, 31);
2909 __gen_uint(values->PatternRow[12], 0, 31);
2912 __gen_uint(values->PatternRow[13], 0, 31);
2915 __gen_uint(values->PatternRow[14], 0, 31);
2918 __gen_uint(values->PatternRow[15], 0, 31);
2921 __gen_uint(values->PatternRow[16], 0, 31);
2924 __gen_uint(values->PatternRow[17], 0, 31);
2927 __gen_uint(values->PatternRow[18], 0, 31);
2930 __gen_uint(values->PatternRow[19], 0, 31);
2933 __gen_uint(values->PatternRow[20], 0, 31);
2936 __gen_uint(values->PatternRow[21], 0, 31);
2939 __gen_uint(values->PatternRow[22], 0, 31);
2942 __gen_uint(values->PatternRow[23], 0, 31);
2945 __gen_uint(values->PatternRow[24], 0, 31);
2948 __gen_uint(values->PatternRow[25], 0, 31);
2951 __gen_uint(values->PatternRow[26], 0, 31);
2954 __gen_uint(values->PatternRow[27], 0, 31);
2957 __gen_uint(values->PatternRow[28], 0, 31);
2960 __gen_uint(values->PatternRow[29], 0, 31);
2963 __gen_uint(values->PatternRow[30], 0, 31);
2966 __gen_uint(values->PatternRow[31], 0, 31);
3029 __attribute__((unused)) const struct GFX7_3DSTATE_PS * restrict values)
3034 __gen_uint(values->DWordLength, 0, 7) |
3035 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3036 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3037 __gen_uint(values->CommandSubType, 27, 28) |
3038 __gen_uint(values->CommandType, 29, 31);
3041 __gen_offset(values->KernelStartPointer0, 6, 31);
3044 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
3045 __gen_uint(values->MaskStackExceptionEnable, 11, 11) |
3046 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
3047 __gen_uint(values->RoundingMode, 14, 15) |
3048 __gen_uint(values->FloatingPointMode, 16, 16) |
3049 __gen_uint(values->BindingTableEntryCount, 18, 25) |
3050 __gen_uint(values->DenormalMode, 26, 26) |
3051 __gen_uint(values->SamplerCount, 27, 29) |
3052 __gen_uint(values->VectorMaskEnable, 30, 30) |
3053 __gen_uint(values->SingleProgramFlow, 31, 31);
3056 __gen_uint(values->PerThreadScratchSpace, 0, 3);
3057 dw[3] = __gen_address(data, &dw[3], values->ScratchSpaceBasePointer, v3, 10, 31);
3060 __gen_uint(values->_8PixelDispatchEnable, 0, 0) |
3061 __gen_uint(values->_16PixelDispatchEnable, 1, 1) |
3062 __gen_uint(values->_32PixelDispatchEnable, 2, 2) |
3063 __gen_uint(values->PositionXYOffsetSelect, 3, 4) |
3064 __gen_uint(values->RenderTargetResolveEnable, 6, 6) |
3065 __gen_uint(values->DualSourceBlendEnable, 7, 7) |
3066 __gen_uint(values->RenderTargetFastClearEnable, 8, 8) |
3067 __gen_uint(values->oMaskPresenttoRenderTarget, 9, 9) |
3068 __gen_uint(values->AttributeEnable, 10, 10) |
3069 __gen_uint(values->PushConstantEnable, 11, 11) |
3070 __gen_uint(values->MaximumNumberofThreads, 24, 31);
3073 __gen_uint(values->DispatchGRFStartRegisterForConstantSetupData2, 0, 6) |
3074 __gen_uint(values->DispatchGRFStartRegisterForConstantSetupData1, 8, 14) |
3075 __gen_uint(values->DispatchGRFStartRegisterForConstantSetupData0, 16, 22);
3078 __gen_offset(values->KernelStartPointer1, 6, 31);
3081 __gen_offset(values->KernelStartPointer2, 6, 31);
3108 __attribute__((unused)) const struct GFX7_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
3113 __gen_uint(values->DWordLength, 0, 7) |
3114 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3115 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3116 __gen_uint(values->CommandSubType, 27, 28) |
3117 __gen_uint(values->CommandType, 29, 31);
3120 __gen_uint(values->ConstantBufferSize, 0, 4) |
3121 __gen_uint(values->ConstantBufferOffset, 16, 19);
3148 __attribute__((unused)) const struct GFX7_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
3153 __gen_uint(values->DWordLength, 0, 7) |
3154 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3155 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3156 __gen_uint(values->CommandSubType, 27, 28) |
3157 __gen_uint(values->CommandType, 29, 31);
3160 __gen_uint(values->ConstantBufferSize, 0, 4) |
3161 __gen_uint(values->ConstantBufferOffset, 16, 19);
3188 __attribute__((unused)) const struct GFX7_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
3193 __gen_uint(values->DWordLength, 0, 7) |
3194 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3195 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3196 __gen_uint(values->CommandSubType, 27, 28) |
3197 __gen_uint(values->CommandType, 29, 31);
3200 __gen_uint(values->ConstantBufferSize, 0, 4) |
3201 __gen_uint(values->ConstantBufferOffset, 16, 19);
3228 __attribute__((unused)) const struct GFX7_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
3233 __gen_uint(values->DWordLength, 0, 7) |
3234 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3235 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3236 __gen_uint(values->CommandSubType, 27, 28) |
3237 __gen_uint(values->CommandType, 29, 31);
3240 __gen_uint(values->ConstantBufferSize, 0, 4) |
3241 __gen_uint(values->ConstantBufferOffset, 16, 19);
3268 __attribute__((unused)) const struct GFX7_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
3273 __gen_uint(values->DWordLength, 0, 7) |
3274 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3275 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3276 __gen_uint(values->CommandSubType, 27, 28) |
3277 __gen_uint(values->CommandType, 29, 31);
3280 __gen_uint(values->ConstantBufferSize, 0, 4) |
3281 __gen_uint(values->ConstantBufferOffset, 16, 19);
3303 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
3308 __gen_uint(values->DWordLength, 0, 7) |
3309 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3310 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3311 __gen_uint(values->CommandSubType, 27, 28) |
3312 __gen_uint(values->CommandType, 29, 31);
3335 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
3340 __gen_uint(values->DWordLength, 0, 7) |
3341 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3342 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3343 __gen_uint(values->CommandSubType, 27, 28) |
3344 __gen_uint(values->CommandType, 29, 31);
3368 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
3373 __gen_uint(values->DWordLength, 0, 7) |
3374 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3375 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3376 __gen_uint(values->CommandSubType, 27, 28) |
3377 __gen_uint(values->CommandType, 29, 31);
3380 __gen_offset(values->PointertoDSSamplerState, 5, 31);
3404 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
3409 __gen_uint(values->DWordLength, 0, 7) |
3410 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3411 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3412 __gen_uint(values->CommandSubType, 27, 28) |
3413 __gen_uint(values->CommandType, 29, 31);
3416 __gen_offset(values->PointertoGSSamplerState, 5, 31);
3440 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
3445 __gen_uint(values->DWordLength, 0, 7) |
3446 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3447 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3448 __gen_uint(values->CommandSubType, 27, 28) |
3449 __gen_uint(values->CommandType, 29, 31);
3452 __gen_offset(values->PointertoHSSamplerState, 5, 31);
3476 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
3481 __gen_uint(values->DWordLength, 0, 7) |
3482 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3483 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3484 __gen_uint(values->CommandSubType, 27, 28) |
3485 __gen_uint(values->CommandType, 29, 31);
3488 __gen_offset(values->PointertoPSSamplerState, 5, 31);
3512 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
3517 __gen_uint(values->DWordLength, 0, 7) |
3518 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3519 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3520 __gen_uint(values->CommandSubType, 27, 28) |
3521 __gen_uint(values->CommandType, 29, 31);
3524 __gen_offset(values->PointertoVSSamplerState, 5, 31);
3548 __attribute__((unused)) const struct GFX7_3DSTATE_SAMPLE_MASK * restrict values)
3553 __gen_uint(values->DWordLength, 0, 7) |
3554 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3555 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3556 __gen_uint(values->CommandSubType, 27, 28) |
3557 __gen_uint(values->CommandType, 29, 31);
3560 __gen_uint(values->SampleMask, 0, 7);
3612 __attribute__((unused)) const struct GFX7_3DSTATE_SBE * restrict values)
3617 __gen_uint(values->DWordLength, 0, 7) |
3618 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3619 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3620 __gen_uint(values->CommandSubType, 27, 28) |
3621 __gen_uint(values->CommandType, 29, 31);
3624 __gen_uint(values->VertexURBEntryReadOffset, 4, 9) |
3625 __gen_uint(values->VertexURBEntryReadLength, 11, 15) |
3626 __gen_uint(values->PointSpriteTextureCoordinateOrigin, 20, 20) |
3627 __gen_uint(values->AttributeSwizzleEnable, 21, 21) |
3628 __gen_uint(values->NumberofSFOutputAttributes, 22, 27) |
3629 __gen_uint(values->AttributeSwizzleControlMode, 28, 28);
3632 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v2_0, &values->Attribute[0]);
3635 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v2_1, &values->Attribute[1]);
3642 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v3_0, &values->Attribute[2]);
3645 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v3_1, &values->Attribute[3]);
3652 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v4_0, &values->Attribute[4]);
3655 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v4_1, &values->Attribute[5]);
3662 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v5_0, &values->Attribute[6]);
3665 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v5_1, &values->Attribute[7]);
3672 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v6_0, &values->Attribute[8]);
3675 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v6_1, &values->Attribute[9]);
3682 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v7_0, &values->Attribute[10]);
3685 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v7_1, &values->Attribute[11]);
3692 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v8_0, &values->Attribute[12]);
3695 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v8_1, &values->Attribute[13]);
3702 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v9_0, &values->Attribute[14]);
3705 GFX7_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(data, &v9_1, &values->Attribute[15]);
3712 __gen_uint(values->PointSpriteTextureCoordinateEnable, 0, 31);
3715 __gen_uint(values->ConstantInterpolationEnable, 0, 31);
3718 __gen_uint(values->Attribute0WrapShortestEnables, 0, 3) |
3719 __gen_uint(values->Attribute1WrapShortestEnables, 4, 7) |
3720 __gen_uint(values->Attribute2WrapShortestEnables, 8, 11) |
3721 __gen_uint(values->Attribute3WrapShortestEnables, 12, 15) |
3722 __gen_uint(values->Attribute4WrapShortestEnables, 16, 19) |
3723 __gen_uint(values->Attribute5WrapShortestEnables, 20, 23) |
3724 __gen_uint(values->Attribute6WrapShortestEnables, 24, 27) |
3725 __gen_uint(values->Attribute7WrapShortestEnables, 28, 31);
3728 __gen_uint(values->Attribute8WrapShortestEnables, 0, 3) |
3729 __gen_uint(values->Attribute9WrapShortestEnables, 4, 7) |
3730 __gen_uint(values->Attribute10WrapShortestEnables, 8, 11) |
3731 __gen_uint(values->Attribute11WrapShortestEnables, 12, 15) |
3732 __gen_uint(values->Attribute12WrapShortestEnables, 16, 19) |
3733 __gen_uint(values->Attribute13WrapShortestEnables, 20, 23) |
3734 __gen_uint(values->Attribute14WrapShortestEnables, 24, 27) |
3735 __gen_uint(values->Attribute15WrapShortestEnables, 28, 31);
3759 __attribute__((unused)) const struct GFX7_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
3764 __gen_uint(values->DWordLength, 0, 7) |
3765 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3766 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3767 __gen_uint(values->CommandSubType, 27, 28) |
3768 __gen_uint(values->CommandType, 29, 31);
3771 __gen_offset(values->ScissorRectPointer, 5, 31);
3855 __attribute__((unused)) const struct GFX7_3DSTATE_SF * restrict values)
3860 __gen_uint(values->DWordLength, 0, 7) |
3861 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3862 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3863 __gen_uint(values->CommandSubType, 27, 28) |
3864 __gen_uint(values->CommandType, 29, 31);
3867 __gen_uint(values->FrontWinding, 0, 0) |
3868 __gen_uint(values->ViewportTransformEnable, 1, 1) |
3869 __gen_uint(values->BackFaceFillMode, 3, 4) |
3870 __gen_uint(values->FrontFaceFillMode, 5, 6) |
3871 __gen_uint(values->GlobalDepthOffsetEnablePoint, 7, 7) |
3872 __gen_uint(values->GlobalDepthOffsetEnableWireframe, 8, 8) |
3873 __gen_uint(values->GlobalDepthOffsetEnableSolid, 9, 9) |
3874 __gen_uint(values->StatisticsEnable, 10, 10) |
3875 __gen_uint(values->LegacyGlobalDepthBiasEnable, 11, 11) |
3876 __gen_uint(values->DepthBufferSurfaceFormat, 12, 14);
3879 __gen_uint(values->MultisampleRasterizationMode, 8, 9) |
3880 __gen_uint(values->ScissorRectangleEnable, 11, 11) |
3881 __gen_uint(values->LineEndCapAntialiasingRegionWidth, 16, 17) |
3882 __gen_ufixed(values->LineWidth, 18, 27, 7) |
3883 __gen_uint(values->CullMode, 29, 30) |
3884 __gen_uint(values->AntialiasingEnable, 31, 31);
3887 __gen_ufixed(values->PointWidth, 0, 10, 3) |
3888 __gen_uint(values->PointWidthSource, 11, 11) |
3889 __gen_uint(values->VertexSubPixelPrecisionSelect, 12, 12) |
3890 __gen_uint(values->AALineDistanceMode, 14, 14) |
3891 __gen_uint(values->TriangleFanProvokingVertexSelect, 25, 26) |
3892 __gen_uint(values->LineStripListProvokingVertexSelect, 27, 28) |
3893 __gen_uint(values->TriangleStripListProvokingVertexSelect, 29, 30) |
3894 __gen_uint(values->LastPixelEnable, 31, 31);
3897 __gen_float(values->GlobalDepthOffsetConstant);
3900 __gen_float(values->GlobalDepthOffsetScale);
3903 __gen_float(values->GlobalDepthOffsetClamp);
3931 __attribute__((unused)) const struct GFX7_3DSTATE_SO_BUFFER * restrict values)
3936 __gen_uint(values->DWordLength, 0, 7) |
3937 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3938 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3939 __gen_uint(values->CommandSubType, 27, 28) |
3940 __gen_uint(values->CommandType, 29, 31);
3943 __gen_uint(values->SurfacePitch, 0, 11) |
3944 __gen_uint(values->MOCS, 25, 28) |
3945 __gen_uint(values->SOBufferIndex, 29, 30);
3947 dw[2] = __gen_address(data, &dw[2], values->SurfaceBaseAddress, 0, 2, 31);
3949 dw[3] = __gen_address(data, &dw[3], values->SurfaceEndAddress, 0, 2, 31);
3979 __attribute__((unused)) const struct GFX7_3DSTATE_SO_DECL_LIST * restrict values)
3984 __gen_uint(values->DWordLength, 0, 8) |
3985 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
3986 __gen_uint(values->_3DCommandOpcode, 24, 26) |
3987 __gen_uint(values->CommandSubType, 27, 28) |
3988 __gen_uint(values->CommandType, 29, 31);
3991 __gen_uint(values->StreamtoBufferSelects0, 0, 3) |
3992 __gen_uint(values->StreamtoBufferSelects1, 4, 7) |
3993 __gen_uint(values->StreamtoBufferSelects2, 8, 11) |
3994 __gen_uint(values->StreamtoBufferSelects3, 12, 15);
3997 __gen_uint(values->NumEntries0, 0, 7) |
3998 __gen_uint(values->NumEntries1, 8, 15) |
3999 __gen_uint(values->NumEntries2, 16, 23) |
4000 __gen_uint(values->NumEntries3, 24, 31);
4026 __attribute__((unused)) const struct GFX7_3DSTATE_STENCIL_BUFFER * restrict values)
4031 __gen_uint(values->DWordLength, 0, 7) |
4032 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4033 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4034 __gen_uint(values->CommandSubType, 27, 28) |
4035 __gen_uint(values->CommandType, 29, 31);
4038 __gen_uint(values->SurfacePitch, 0, 16) |
4039 __gen_uint(values->MOCS, 25, 28);
4041 dw[2] = __gen_address(data, &dw[2], values->SurfaceBaseAddress, 0, 0, 31);
4083 __attribute__((unused)) const struct GFX7_3DSTATE_STREAMOUT * restrict values)
4088 __gen_uint(values->DWordLength, 0, 7) |
4089 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4090 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4091 __gen_uint(values->CommandSubType, 27, 28) |
4092 __gen_uint(values->CommandType, 29, 31);
4095 __gen_uint(values->SOBufferEnable0, 8, 8) |
4096 __gen_uint(values->SOBufferEnable1, 9, 9) |
4097 __gen_uint(values->SOBufferEnable2, 10, 10) |
4098 __gen_uint(values->SOBufferEnable3, 11, 11) |
4099 __gen_uint(values->SOStatisticsEnable, 25, 25) |
4100 __gen_uint(values->ReorderMode, 26, 26) |
4101 __gen_uint(values->RenderStreamSelect, 27, 28) |
4102 __gen_uint(values->RenderingDisable, 30, 30) |
4103 __gen_uint(values->SOFunctionEnable, 31, 31);
4106 __gen_uint(values->Stream0VertexReadLength, 0, 4) |
4107 __gen_uint(values->Stream0VertexReadOffset, 5, 5) |
4108 __gen_uint(values->Stream1VertexReadLength, 8, 12) |
4109 __gen_uint(values->Stream1VertexReadOffset, 13, 13) |
4110 __gen_uint(values->Stream2VertexReadLength, 16, 20) |
4111 __gen_uint(values->Stream2VertexReadOffset, 21, 21) |
4112 __gen_uint(values->Stream3VertexReadLength, 24, 28) |
4113 __gen_uint(values->Stream3VertexReadOffset, 29, 29);
4155 __attribute__((unused)) const struct GFX7_3DSTATE_TE * restrict values)
4160 __gen_uint(values->DWordLength, 0, 7) |
4161 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4162 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4163 __gen_uint(values->CommandSubType, 27, 28) |
4164 __gen_uint(values->CommandType, 29, 31);
4167 __gen_uint(values->TEEnable, 0, 0) |
4168 __gen_uint(values->TEMode, 1, 2) |
4169 __gen_uint(values->TEDomain, 4, 5) |
4170 __gen_uint(values->OutputTopology, 8, 9) |
4171 __gen_uint(values->Partitioning, 12, 13);
4174 __gen_float(values->MaximumTessellationFactorOdd);
4177 __gen_float(values->MaximumTessellationFactorNotOdd);
4203 __attribute__((unused)) const struct GFX7_3DSTATE_URB_DS * restrict values)
4208 __gen_uint(values->DWordLength, 0, 7) |
4209 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4210 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4211 __gen_uint(values->CommandSubType, 27, 28) |
4212 __gen_uint(values->CommandType, 29, 31);
4215 __gen_uint(values->DSNumberofURBEntries, 0, 15) |
4216 __gen_uint(values->DSURBEntryAllocationSize, 16, 24) |
4217 __gen_uint(values->DSURBStartingAddress, 25, 29);
4243 __attribute__((unused)) const struct GFX7_3DSTATE_URB_GS * restrict values)
4248 __gen_uint(values->DWordLength, 0, 7) |
4249 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4250 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4251 __gen_uint(values->CommandSubType, 27, 28) |
4252 __gen_uint(values->CommandType, 29, 31);
4255 __gen_uint(values->GSNumberofURBEntries, 0, 15) |
4256 __gen_uint(values->GSURBEntryAllocationSize, 16, 24) |
4257 __gen_uint(values->GSURBStartingAddress, 25, 29);
4283 __attribute__((unused)) const struct GFX7_3DSTATE_URB_HS * restrict values)
4288 __gen_uint(values->DWordLength, 0, 7) |
4289 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4290 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4291 __gen_uint(values->CommandSubType, 27, 28) |
4292 __gen_uint(values->CommandType, 29, 31);
4295 __gen_uint(values->HSNumberofURBEntries, 0, 15) |
4296 __gen_uint(values->HSURBEntryAllocationSize, 16, 24) |
4297 __gen_uint(values->HSURBStartingAddress, 25, 29);
4323 __attribute__((unused)) const struct GFX7_3DSTATE_URB_VS * restrict values)
4328 __gen_uint(values->DWordLength, 0, 7) |
4329 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4330 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4331 __gen_uint(values->CommandSubType, 27, 28) |
4332 __gen_uint(values->CommandType, 29, 31);
4335 __gen_uint(values->VSNumberofURBEntries, 0, 15) |
4336 __gen_uint(values->VSURBEntryAllocationSize, 16, 24) |
4337 __gen_uint(values->VSURBStartingAddress, 25, 29);
4360 __attribute__((unused)) const struct GFX7_3DSTATE_VERTEX_BUFFERS * restrict values)
4365 __gen_uint(values->DWordLength, 0, 7) |
4366 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4367 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4368 __gen_uint(values->CommandSubType, 27, 28) |
4369 __gen_uint(values->CommandType, 29, 31);
4392 __attribute__((unused)) const struct GFX7_3DSTATE_VERTEX_ELEMENTS * restrict values)
4397 __gen_uint(values->DWordLength, 0, 7) |
4398 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4399 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4400 __gen_uint(values->CommandSubType, 27, 28) |
4401 __gen_uint(values->CommandType, 29, 31);
4423 __attribute__((unused)) const struct GFX7_3DSTATE_VF_STATISTICS * restrict values)
4428 __gen_uint(values->StatisticsEnable, 0, 0) |
4429 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4430 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4431 __gen_uint(values->CommandSubType, 27, 28) |
4432 __gen_uint(values->CommandType, 29, 31);
4456 __attribute__((unused)) const struct GFX7_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
4461 __gen_uint(values->DWordLength, 0, 7) |
4462 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4463 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4464 __gen_uint(values->CommandSubType, 27, 28) |
4465 __gen_uint(values->CommandType, 29, 31);
4468 __gen_offset(values->CCViewportPointer, 5, 31);
4492 __attribute__((unused)) const struct GFX7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
4497 __gen_uint(values->DWordLength, 0, 7) |
4498 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4499 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4500 __gen_uint(values->CommandSubType, 27, 28) |
4501 __gen_uint(values->CommandType, 29, 31);
4504 __gen_offset(values->SFClipViewportPointer, 6, 31);
4551 __attribute__((unused)) const struct GFX7_3DSTATE_VS * restrict values)
4556 __gen_uint(values->DWordLength, 0, 7) |
4557 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4558 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4559 __gen_uint(values->CommandSubType, 27, 28) |
4560 __gen_uint(values->CommandType, 29, 31);
4563 __gen_offset(values->KernelStartPointer, 6, 31);
4566 __gen_uint(values->SoftwareExceptionEnable, 7, 7) |
4567 __gen_uint(values->IllegalOpcodeExceptionEnable, 13, 13) |
4568 __gen_uint(values->FloatingPointMode, 16, 16) |
4569 __gen_uint(values->BindingTableEntryCount, 18, 25) |
4570 __gen_uint(values->SamplerCount, 27, 29) |
4571 __gen_uint(values->VectorMaskEnable, 30, 30) |
4572 __gen_uint(values->SingleVertexDispatch, 31, 31);
4575 __gen_uint(values->PerThreadScratchSpace, 0, 3);
4576 dw[3] = __gen_address(data, &dw[3], values->ScratchSpaceBasePointer, v3, 10, 31);
4579 __gen_uint(values->VertexURBEntryReadOffset, 4, 9) |
4580 __gen_uint(values->VertexURBEntryReadLength, 11, 16) |
4581 __gen_uint(values->DispatchGRFStartRegisterForURBData, 20, 24);
4584 __gen_uint(values->Enable, 0, 0) |
4585 __gen_uint(values->VertexCacheDisable, 1, 1) |
4586 __gen_uint(values->StatisticsEnable, 10, 10) |
4587 __gen_uint(values->MaximumNumberofThreads, 25, 31);
4659 __attribute__((unused)) const struct GFX7_3DSTATE_WM * restrict values)
4664 __gen_uint(values->DWordLength, 0, 7) |
4665 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
4666 __gen_uint(values->_3DCommandOpcode, 24, 26) |
4667 __gen_uint(values->CommandSubType, 27, 28) |
4668 __gen_uint(values->CommandType, 29, 31);
4671 __gen_uint(values->MultisampleRasterizationMode, 0, 1) |
4672 __gen_uint(values->PointRasterizationRule, 2, 2) |
4673 __gen_uint(values->LineStippleEnable, 3, 3) |
4674 __gen_uint(values->PolygonStippleEnable, 4, 4) |
4675 __gen_uint(values->LineAntialiasingRegionWidth, 6, 7) |
4676 __gen_uint(values->LineEndCapAntialiasingRegionWidth, 8, 9) |
4677 __gen_uint(values->PixelShaderUsesInputCoverageMask, 10, 10) |
4678 __gen_uint(values->BarycentricInterpolationMode, 11, 16) |
4679 __gen_uint(values->PositionZWInterpolationMode, 17, 18) |
4680 __gen_uint(values->PixelShaderUsesSourceW, 19, 19) |
4681 __gen_uint(values->PixelShaderUsesSourceDepth, 20, 20) |
4682 __gen_uint(values->EarlyDepthStencilControl, 21, 22) |
4683 __gen_uint(values->PixelShaderComputedDepthMode, 23, 24) |
4684 __gen_uint(values->PixelShaderKillsPixel, 25, 25) |
4685 __gen_uint(values->LegacyDiamondLineRasterization, 26, 26) |
4686 __gen_uint(values->HierarchicalDepthBufferResolveEnable, 27, 27) |
4687 __gen_uint(values->DepthBufferResolveEnable, 28, 28) |
4688 __gen_uint(values->ThreadDispatchEnable, 29, 29) |
4689 __gen_uint(values->DepthBufferClear, 30, 30) |
4690 __gen_uint(values->StatisticsEnable, 31, 31);
4693 __gen_uint(values->MultisampleDispatchMode, 31, 31);
4731 __attribute__((unused)) const struct GFX7_GPGPU_OBJECT * restrict values)
4736 __gen_uint(values->DWordLength, 0, 7) |
4737 __gen_uint(values->PredicateEnable, 8, 8) |
4738 __gen_uint(values->SubOpcode, 16, 23) |
4739 __gen_uint(values->MediaCommandOpcode, 24, 26) |
4740 __gen_uint(values->Pipeline, 27, 28) |
4741 __gen_uint(values->CommandType, 29, 31);
4744 __gen_uint(values->InterfaceDescriptorOffset, 0, 4) |
4745 __gen_uint(values->SharedLocalMemoryFixedOffset, 7, 7);
4748 __gen_uint(values->IndirectDataLength, 0, 16) |
4749 __gen_uint(values->HalfSliceDestinationSelect, 17, 18) |
4750 __gen_uint(values->EndofThreadGroup, 24, 24) |
4751 __gen_uint(values->SharedLocalMemoryOffset, 28, 31);
4754 __gen_offset(values->IndirectDataStartAddress, 0, 31);
4757 __gen_uint(values->ThreadGroupIDX, 0, 31);
4760 __gen_uint(values->ThreadGroupIDY, 0, 31);
4763 __gen_uint(values->ThreadGroupIDZ, 0, 31);
4766 __gen_uint(values->ExecutionMask, 0, 31);
4807 __attribute__((unused)) const struct GFX7_GPGPU_WALKER * restrict values)
4812 __gen_uint(values->DWordLength, 0, 7) |
4813 __gen_uint(values->PredicateEnable, 8, 8) |
4814 __gen_uint(values->IndirectParameterEnable, 10, 10) |
4815 __gen_uint(values->SubOpcodeA, 16, 23) |
4816 __gen_uint(values->MediaCommandOpcode, 24, 26) |
4817 __gen_uint(values->Pipeline, 27, 28) |
4818 __gen_uint(values->CommandType, 29, 31);
4821 __gen_uint(values->InterfaceDescriptorOffset, 0, 4);
4824 __gen_uint(values->ThreadWidthCounterMaximum, 0, 5) |
4825 __gen_uint(values->ThreadHeightCounterMaximum, 8, 13) |
4826 __gen_uint(values->ThreadDepthCounterMaximum, 16, 21) |
4827 __gen_uint(values->SIMDSize, 30, 31);
4830 __gen_uint(values->ThreadGroupIDStartingX, 0, 31);
4833 __gen_uint(values->ThreadGroupIDXDimension, 0, 31);
4836 __gen_uint(values->ThreadGroupIDStartingY, 0, 31);
4839 __gen_uint(values->ThreadGroupIDYDimension, 0, 31);
4842 __gen_uint(values->ThreadGroupIDStartingZ, 0, 31);
4845 __gen_uint(values->ThreadGroupIDZDimension, 0, 31);
4848 __gen_uint(values->RightExecutionMask, 0, 31);
4851 __gen_uint(values->BottomExecutionMask, 0, 31);
4876 __attribute__((unused)) const struct GFX7_MEDIA_CURBE_LOAD * restrict values)
4881 __gen_uint(values->DWordLength, 0, 15) |
4882 __gen_uint(values->SubOpcode, 16, 23) |
4883 __gen_uint(values->MediaCommandOpcode, 24, 26) |
4884 __gen_uint(values->Pipeline, 27, 28) |
4885 __gen_uint(values->CommandType, 29, 31);
4890 __gen_uint(values->CURBETotalDataLength, 0, 16);
4893 __gen_uint(values->CURBEDataStartAddress, 0, 31);
4918 __attribute__((unused)) const struct GFX7_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
4923 __gen_uint(values->DWordLength, 0, 15) |
4924 __gen_uint(values->SubOpcode, 16, 23) |
4925 __gen_uint(values->MediaCommandOpcode, 24, 26) |
4926 __gen_uint(values->Pipeline, 27, 28) |
4927 __gen_uint(values->CommandType, 29, 31);
4932 __gen_uint(values->InterfaceDescriptorTotalLength, 0, 16);
4935 __gen_offset(values->InterfaceDescriptorDataStartAddress, 0, 31);
4976 __attribute__((unused)) const struct GFX7_MEDIA_OBJECT * restrict values)
4981 __gen_uint(values->DWordLength, 0, 15) |
4982 __gen_uint(values->MediaCommandSubOpcode, 16, 23) |
4983 __gen_uint(values->MediaCommandOpcode, 24, 26) |
4984 __gen_uint(values->MediaCommandPipeline, 27, 28) |
4985 __gen_uint(values->CommandType, 29, 31);
4988 __gen_uint(values->InterfaceDescriptorOffset, 0, 4);
4991 __gen_uint(values->IndirectDataLength, 0, 16) |
4992 __gen_uint(values->HalfSliceDestinationSelect, 17, 18) |
4993 __gen_uint(values->UseScoreboard, 21, 21) |
4994 __gen_uint(values->ThreadSynchronization, 24, 24) |
4995 __gen_uint(values->ChildrenPresent, 31, 31);
4997 dw[3] = __gen_address(data, &dw[3], values->IndirectDataStartAddress, 0, 0, 31);
5000 __gen_uint(values->ScoreboardX, 0, 8) |
5001 __gen_uint(values->ScoredboardY, 16, 24);
5004 __gen_uint(values->ScoreboardMask, 0, 7) |
5005 __gen_uint(values->ScoreboardColor, 16, 19);
5035 __attribute__((unused)) const struct GFX7_MEDIA_OBJECT_PRT * restrict values)
5040 __gen_uint(values->DWordLength, 0, 15) |
5041 __gen_uint(values->SubOpcode, 16, 23) |
5042 __gen_uint(values->MediaCommandOpcode, 24, 26) |
5043 __gen_uint(values->Pipeline, 27, 28) |
5044 __gen_uint(values->CommandType, 29, 31);
5047 __gen_uint(values->InterfaceDescriptorOffset, 0, 4);
5050 __gen_uint(values->PRT_FenceType, 22, 22) |
5051 __gen_uint(values->PRT_FenceNeeded, 23, 23) |
5052 __gen_uint(values->ChildrenPresent, 31, 31);
5057 __gen_uint(values->InlineData[0], 0, 31);
5060 __gen_uint(values->InlineData[1], 0, 31);
5063 __gen_uint(values->InlineData[2], 0, 31);
5066 __gen_uint(values->InlineData[3], 0, 31);
5069 __gen_uint(values->InlineData[4], 0, 31);
5072 __gen_uint(values->InlineData[5], 0, 31);
5075 __gen_uint(values->InlineData[6], 0, 31);
5078 __gen_uint(values->InlineData[7], 0, 31);
5081 __gen_uint(values->InlineData[8], 0, 31);
5084 __gen_uint(values->InlineData[9], 0, 31);
5087 __gen_uint(values->InlineData[10], 0, 31);
5090 __gen_uint(values->InlineData[11], 0, 31);
5150 __attribute__((unused)) const struct GFX7_MEDIA_OBJECT_WALKER * restrict values)
5155 __gen_uint(values->DWordLength, 0, 15) |
5156 __gen_uint(values->SubOpcode, 16, 23) |
5157 __gen_uint(values->MediaCommandOpcode, 24, 26) |
5158 __gen_uint(values->Pipeline, 27, 28) |
5159 __gen_uint(values->CommandType, 29, 31);
5162 __gen_uint(values->InterfaceDescriptorOffset, 0, 4);
5165 __gen_uint(values->IndirectDataLength, 0, 16) |
5166 __gen_uint(values->UseScoreboard, 21, 21) |
5167 __gen_uint(values->ThreadSynchronization, 24, 24) |
5168 __gen_uint(values->ChildrenPresent, 31, 31);
5171 __gen_offset(values->IndirectDataStartAddress, 0, 31);
5176 __gen_uint(values->ScoreboardMask, 0, 7);
5179 __gen_sint(values->MidLoopUnitX, 8, 9) |
5180 __gen_sint(values->LocalMidLoopUnitY, 12, 13) |
5181 __gen_uint(values->MiddleLoopExtraSteps, 16, 20) |
5182 __gen_uint(values->ColorCountMinusOne, 24, 27) |
5183 __gen_uint(values->Repel, 30, 30) |
5184 __gen_uint(values->DualMode, 31, 31);
5187 __gen_uint(values->LocalLoopExecCount, 0, 9) |
5188 __gen_uint(values->GlobalLoopExecCount, 16, 25);
5191 __gen_uint(values->BlockResolutionX, 0, 8) |
5192 __gen_uint(values->BlockResolutionY, 16, 24);
5195 __gen_uint(values->LocalStartX, 0, 8) |
5196 __gen_uint(values->LocalStartY, 16, 24);
5199 __gen_uint(values->LocalEndX, 0, 8) |
5200 __gen_uint(values->LocalEndY, 16, 24);
5203 __gen_sint(values->LocalOuterLoopStrideX, 0, 9) |
5204 __gen_sint(values->LocalOuterLoopStrideY, 16, 25);
5207 __gen_sint(values->LocalInnerLoopUnitX, 0, 9) |
5208 __gen_sint(values->LocalInnerLoopUnitY, 16, 25);
5211 __gen_uint(values->GlobalResolutionX, 0, 8) |
5212 __gen_uint(values->GlobalResolutionY, 16, 24);
5215 __gen_sint(values->GlobalStartX, 0, 9) |
5216 __gen_sint(values->GlobalStartY, 16, 25);
5219 __gen_sint(values->GlobalOuterLoopStrideX, 0, 9) |
5220 __gen_sint(values->GlobalOuterLoopStrideY, 16, 25);
5223 __gen_sint(values->GlobalInnerLoopUnitX, 0, 9) |
5224 __gen_sint(values->GlobalInnerLoopUnitY, 16, 25);
5249 __attribute__((unused)) const struct GFX7_MEDIA_STATE_FLUSH * restrict values)
5254 __gen_uint(values->DWordLength, 0, 15) |
5255 __gen_uint(values->SubOpcode, 16, 23) |
5256 __gen_uint(values->MediaCommandOpcode, 24, 26) |
5257 __gen_uint(values->Pipeline, 27, 28) |
5258 __gen_uint(values->CommandType, 29, 31);
5261 __gen_uint(values->InterfaceDescriptorOffset, 0, 5) |
5262 __gen_uint(values->WatermarkRequired, 6, 6);
5324 __attribute__((unused)) const struct GFX7_MEDIA_VFE_STATE * restrict values)
5329 __gen_uint(values->DWordLength, 0, 15) |
5330 __gen_uint(values->SubOpcode, 16, 23) |
5331 __gen_uint(values->MediaCommandOpcode, 24, 26) |
5332 __gen_uint(values->Pipeline, 27, 28) |
5333 __gen_uint(values->CommandType, 29, 31);
5336 __gen_uint(values->PerThreadScratchSpace, 0, 3);
5337 dw[1] = __gen_address(data, &dw[1], values->ScratchSpaceBasePointer, v1, 10, 31);
5340 __gen_uint(values->GPGPUMode, 2, 2) |
5341 __gen_uint(values->GatewayMMIOAccessControl, 3, 4) |
5342 __gen_uint(values->BypassGatewayControl, 6, 6) |
5343 __gen_uint(values->ResetGatewayTimer, 7, 7) |
5344 __gen_uint(values->NumberofURBEntries, 8, 15) |
5345 __gen_uint(values->MaximumNumberofThreads, 16, 31);
5350 __gen_uint(values->CURBEAllocationSize, 0, 15) |
5351 __gen_uint(values->URBEntryAllocationSize, 16, 31);
5354 __gen_uint(values->ScoreboardMask, 0, 7) |
5355 __gen_uint(values->ScoreboardType, 30, 30) |
5356 __gen_uint(values->ScoreboardEnable, 31, 31);
5359 __gen_sint(values->Scoreboard0DeltaX, 0, 3) |
5360 __gen_sint(values->Scoreboard0DeltaY, 4, 7) |
5361 __gen_sint(values->Scoreboard1DeltaX, 8, 11) |
5362 __gen_sint(values->Scoreboard1DeltaY, 12, 15) |
5363 __gen_sint(values->Scoreboard2DeltaX, 16, 19) |
5364 __gen_sint(values->Scoreboard2DeltaY, 20, 23) |
5365 __gen_sint(values->Scoreboard3DeltaX, 24, 27) |
5366 __gen_sint(values->Scoreboard3DeltaY, 28, 31);
5369 __gen_sint(values->Scoreboard4DeltaX, 0, 3) |
5370 __gen_sint(values->Scoreboard4DeltaY, 4, 7) |
5371 __gen_sint(values->Scoreboard5DeltaX, 8, 11) |
5372 __gen_sint(values->Scoreboard5DeltaY, 12, 15) |
5373 __gen_sint(values->Scoreboard6DeltaX, 16, 19) |
5374 __gen_sint(values->Scoreboard6DeltaY, 20, 23) |
5375 __gen_sint(values->Scoreboard7DeltaX, 24, 27) |
5376 __gen_sint(values->Scoreboard7DeltaY, 28, 31);
5393 __attribute__((unused)) const struct GFX7_MI_ARB_CHECK * restrict values)
5398 __gen_uint(values->MICommandOpcode, 23, 28) |
5399 __gen_uint(values->CommandType, 29, 31);
5417 __attribute__((unused)) const struct GFX7_MI_ARB_ON_OFF * restrict values)
5422 __gen_uint(values->ArbitrationEnable, 0, 0) |
5423 __gen_uint(values->MICommandOpcode, 23, 28) |
5424 __gen_uint(values->CommandType, 29, 31);
5441 __attribute__((unused)) const struct GFX7_MI_BATCH_BUFFER_END * restrict values)
5446 __gen_uint(values->MICommandOpcode, 23, 28) |
5447 __gen_uint(values->CommandType, 29, 31);
5471 __attribute__((unused)) const struct GFX7_MI_BATCH_BUFFER_START * restrict values)
5476 __gen_uint(values->DWordLength, 0, 7) |
5477 __gen_uint(values->AddressSpaceIndicator, 8, 8) |
5478 __gen_uint(values->ClearCommandBufferEnable, 11, 11) |
5479 __gen_uint(values->MICommandOpcode, 23, 28) |
5480 __gen_uint(values->CommandType, 29, 31);
5482 dw[1] = __gen_address(data, &dw[1], values->BatchBufferStartAddress, 0, 2, 31);
5505 __attribute__((unused)) const struct GFX7_MI_CLFLUSH * restrict values)
5510 __gen_uint(values->DWordLength, 0, 9) |
5511 __gen_uint(values->UseGlobalGTT, 22, 22) |
5512 __gen_uint(values->MICommandOpcode, 23, 28) |
5513 __gen_uint(values->CommandType, 29, 31);
5516 __gen_uint(values->StartingCachelineOffset, 6, 11);
5517 dw[1] = __gen_address(data, &dw[1], values->PageBaseAddress, v1, 12, 31);
5519 dw[2] = __gen_address(data, &dw[2], values->PageBaseAddressHigh, 0, 0, 15);
5543 __attribute__((unused)) const struct GFX7_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
5548 __gen_uint(values->DWordLength, 0, 7) |
5549 __gen_uint(values->CompareSemaphore, 21, 21) |
5550 __gen_uint(values->UseGlobalGTT, 22, 22) |
5551 __gen_uint(values->MICommandOpcode, 23, 28) |
5552 __gen_uint(values->CommandType, 29, 31);
5555 __gen_uint(values->CompareDataDword, 0, 31);
5583 __attribute__((unused)) const struct GFX7_MI_FLUSH * restrict values)
5588 __gen_uint(values->StateInstructionCacheInvalidate, 1, 1) |
5589 __gen_uint(values->RenderCacheFlushInhibit, 2, 2) |
5590 __gen_uint(values->GlobalSnapshotCountReset, 3, 3) |
5591 __gen_uint(values->GenericMediaStateClear, 4, 4) |
5592 __gen_uint(values->IndirectStatePointersDisable, 5, 5) |
5593 __gen_uint(values->MICommandOpcode, 23, 28) |
5594 __gen_uint(values->CommandType, 29, 31);
5617 __attribute__((unused)) const struct GFX7_MI_LOAD_REGISTER_IMM * restrict values)
5622 __gen_uint(values->DWordLength, 0, 7) |
5623 __gen_uint(values->ByteWriteDisables, 8, 11) |
5624 __gen_uint(values->MICommandOpcode, 23, 28) |
5625 __gen_uint(values->CommandType, 29, 31);
5628 __gen_offset(values->RegisterOffset, 2, 22);
5631 __gen_uint(values->DataDWord, 0, 31);
5654 __attribute__((unused)) const struct GFX7_MI_LOAD_REGISTER_MEM * restrict values)
5659 __gen_uint(values->DWordLength, 0, 7) |
5660 __gen_uint(values->AsyncModeEnable, 21, 21) |
5661 __gen_uint(values->UseGlobalGTT, 22, 22) |
5662 __gen_uint(values->MICommandOpcode, 23, 28) |
5663 __gen_uint(values->CommandType, 29, 31);
5666 __gen_offset(values->RegisterAddress, 2, 22);
5668 dw[2] = __gen_address(data, &dw[2], values->MemoryAddress, 0, 2, 31);
5687 __attribute__((unused)) const struct GFX7_MI_NOOP * restrict values)
5692 __gen_uint(values->IdentificationNumber, 0, 21) |
5693 __gen_uint(values->IdentificationNumberRegisterWriteEnable, 22, 22) |
5694 __gen_uint(values->MICommandOpcode, 23, 28) |
5695 __gen_uint(values->CommandType, 29, 31);
5726 __attribute__((unused)) const struct GFX7_MI_PREDICATE * restrict values)
5731 __gen_uint(values->CompareOperation, 0, 1) |
5732 __gen_uint(values->CombineOperation, 3, 4) |
5733 __gen_uint(values->LoadOperation, 6, 7) |
5734 __gen_uint(values->MICommandOpcode, 23, 28) |
5735 __gen_uint(values->CommandType, 29, 31);
5752 __attribute__((unused)) const struct GFX7_MI_REPORT_HEAD * restrict values)
5757 __gen_uint(values->MICommandOpcode, 23, 28) |
5758 __gen_uint(values->CommandType, 29, 31);
5780 __attribute__((unused)) const struct GFX7_MI_REPORT_PERF_COUNT * restrict values)
5785 __gen_uint(values->DWordLength, 0, 5) |
5786 __gen_uint(values->MICommandOpcode, 23, 28) |
5787 __gen_uint(values->CommandType, 29, 31);
5790 __gen_uint(values->UseGlobalGTT, 0, 0);
5791 dw[1] = __gen_address(data, &dw[1], values->MemoryAddress, v1, 6, 31);
5794 __gen_uint(values->ReportID, 0, 31);
5818 __attribute__((unused)) const struct GFX7_MI_SEMAPHORE_MBOX * restrict values)
5823 __gen_uint(values->DWordLength, 0, 7) |
5824 __gen_uint(values->RegisterSelect, 16, 17) |
5825 __gen_uint(values->MICommandOpcode, 23, 28) |
5826 __gen_uint(values->CommandType, 29, 31);
5829 __gen_uint(values->SemaphoreDataDword, 0, 31);
5856 __attribute__((unused)) const struct GFX7_MI_SET_CONTEXT * restrict values)
5861 __gen_uint(values->DWordLength, 0, 7) |
5862 __gen_uint(values->MICommandOpcode, 23, 28) |
5863 __gen_uint(values->CommandType, 29, 31);
5866 __gen_uint(values->RestoreInhibit, 0, 0) |
5867 __gen_uint(values->ForceRestore, 1, 1) |
5868 __gen_uint(values->ExtendedStateRestoreEnable, 2, 2) |
5869 __gen_uint(values->ExtendedStateSaveEnable, 3, 3) |
5870 __gen_uint(values->ReservedMustbe1, 8, 8);
5871 dw[1] = __gen_address(data, &dw[1], values->LogicalContextAddress, v1, 12, 31);
5894 __attribute__((unused)) const struct GFX7_MI_STORE_DATA_IMM * restrict values)
5899 __gen_uint(values->DWordLength, 0, 5) |
5900 __gen_uint(values->UseGlobalGTT, 22, 22) |
5901 __gen_uint(values->MICommandOpcode, 23, 28) |
5902 __gen_uint(values->CommandType, 29, 31);
5907 __gen_uint(values->CoreModeEnable, 0, 0);
5908 dw[2] = __gen_address(data, &dw[2], values->Address, v2, 2, 31);
5911 __gen_uint(values->ImmediateData, 0, 63);
5935 __attribute__((unused)) const struct GFX7_MI_STORE_DATA_INDEX * restrict values)
5940 __gen_uint(values->DWordLength, 0, 7) |
5941 __gen_uint(values->MICommandOpcode, 23, 28) |
5942 __gen_uint(values->CommandType, 29, 31);
5945 __gen_uint(values->Offset, 2, 11);
5948 __gen_uint(values->DataDWord0, 0, 31);
5970 __attribute__((unused)) const struct GFX7_MI_STORE_REGISTER_MEM * restrict values)
5975 __gen_uint(values->DWordLength, 0, 7) |
5976 __gen_uint(values->UseGlobalGTT, 22, 22) |
5977 __gen_uint(values->MICommandOpcode, 23, 28) |
5978 __gen_uint(values->CommandType, 29, 31);
5981 __gen_offset(values->RegisterAddress, 2, 22);
5983 dw[2] = __gen_address(data, &dw[2], values->MemoryAddress, 0, 2, 31);
6001 __attribute__((unused)) const struct GFX7_MI_SUSPEND_FLUSH * restrict values)
6006 __gen_uint(values->SuspendFlush, 0, 0) |
6007 __gen_uint(values->MICommandOpcode, 23, 28) |
6008 __gen_uint(values->CommandType, 29, 31);
6026 __attribute__((unused)) const struct GFX7_MI_TOPOLOGY_FILTER * restrict values)
6031 __gen_uint(values->TopologyFilterValue, 0, 5) |
6032 __gen_uint(values->MICommandOpcode, 23, 28) |
6033 __gen_uint(values->CommandType, 29, 31);
6054 __attribute__((unused)) const struct GFX7_MI_URB_CLEAR * restrict values)
6059 __gen_uint(values->DWordLength, 0, 7) |
6060 __gen_uint(values->MICommandOpcode, 23, 28) |
6061 __gen_uint(values->CommandType, 29, 31);
6064 __gen_offset(values->URBAddress, 0, 13) |
6065 __gen_uint(values->URBClearLength, 16, 28);
6082 __attribute__((unused)) const struct GFX7_MI_USER_INTERRUPT * restrict values)
6087 __gen_uint(values->MICommandOpcode, 23, 28) |
6088 __gen_uint(values->CommandType, 29, 31);
6122 __attribute__((unused)) const struct GFX7_MI_WAIT_FOR_EVENT * restrict values)
6127 __gen_uint(values->DisplayPipeAScanLineWaitEnable, 0, 0) |
6128 __gen_uint(values->DisplayPlaneAFlipPendingWaitEnable, 1, 1) |
6129 __gen_uint(values->DisplaySpriteAFlipPendingWaitEnable, 2, 2) |
6130 __gen_uint(values->DisplayPipeAVerticalBlankWaitEnable, 3, 3) |
6131 __gen_uint(values->DisplayPipeAHorizontalBlankWaitEnable, 5, 5) |
6132 __gen_uint(values->DisplayPipeBScanLineWaitEnable, 8, 8) |
6133 __gen_uint(values->DisplayPlaneBFlipPendingWaitEnable, 9, 9) |
6134 __gen_uint(values->DisplaySpriteBFlipPendingWaitEnable, 10, 10) |
6135 __gen_uint(values->DisplayPipeBVerticalBlankWaitEnable, 11, 11) |
6136 __gen_uint(values->DisplayPipeBHorizontalBlankWaitEnable, 13, 13) |
6137 __gen_uint(values->DisplayPipeCScanLineWaitEnable, 14, 14) |
6138 __gen_uint(values->DisplayPlaneCFlipPendingWaitEnable, 15, 15) |
6139 __gen_uint(values->ConditionCodeWaitSelect, 16, 19) |
6140 __gen_uint(values->DisplaySpriteCFlipPendingWaitEnable, 20, 20) |
6141 __gen_uint(values->DisplayPipeCVerticalBlankWaitEnable, 21, 21) |
6142 __gen_uint(values->DisplayPipeCHorizontalBlankWaitEnable, 22, 22) |
6143 __gen_uint(values->MICommandOpcode, 23, 28) |
6144 __gen_uint(values->CommandType, 29, 31);
6169 __attribute__((unused)) const struct GFX7_PIPELINE_SELECT * restrict values)
6174 __gen_uint(values->PipelineSelection, 0, 1) |
6175 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6176 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6177 __gen_uint(values->CommandSubType, 27, 28) |
6178 __gen_uint(values->CommandType, 29, 31);
6232 __attribute__((unused)) const struct GFX7_PIPE_CONTROL * restrict values)
6237 __gen_uint(values->DWordLength, 0, 7) |
6238 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6239 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6240 __gen_uint(values->CommandSubType, 27, 28) |
6241 __gen_uint(values->CommandType, 29, 31);
6244 __gen_uint(values->DepthCacheFlushEnable, 0, 0) |
6245 __gen_uint(values->StallAtPixelScoreboard, 1, 1) |
6246 __gen_uint(values->StateCacheInvalidationEnable, 2, 2) |
6247 __gen_uint(values->ConstantCacheInvalidationEnable, 3, 3) |
6248 __gen_uint(values->VFCacheInvalidationEnable, 4, 4) |
6249 __gen_uint(values->DCFlushEnable, 5, 5) |
6250 __gen_uint(values->PipeControlFlushEnable, 7, 7) |
6251 __gen_uint(values->NotifyEnable, 8, 8) |
6252 __gen_uint(values->IndirectStatePointersDisable, 9, 9) |
6253 __gen_uint(values->TextureCacheInvalidationEnable, 10, 10) |
6254 __gen_uint(values->InstructionCacheInvalidateEnable, 11, 11) |
6255 __gen_uint(values->RenderTargetCacheFlushEnable, 12, 12) |
6256 __gen_uint(values->DepthStallEnable, 13, 13) |
6257 __gen_uint(values->PostSyncOperation, 14, 15) |
6258 __gen_uint(values->GenericMediaStateClear, 16, 16) |
6259 __gen_uint(values->TLBInvalidate, 18, 18) |
6260 __gen_uint(values->GlobalSnapshotCountReset, 19, 19) |
6261 __gen_uint(values->CommandStreamerStallEnable, 20, 20) |
6262 __gen_uint(values->StoreDataIndex, 21, 21) |
6263 __gen_uint(values->LRIPostSyncOperation, 23, 23) |
6264 __gen_uint(values->DestinationAddressType, 24, 24);
6266 dw[2] = __gen_address(data, &dw[2], values->Address, 0, 2, 31);
6269 __gen_uint(values->ImmediateData, 0, 63);
6319 __attribute__((unused)) const struct GFX7_STATE_BASE_ADDRESS * restrict values)
6324 __gen_uint(values->DWordLength, 0, 7) |
6325 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6326 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6327 __gen_uint(values->CommandSubType, 27, 28) |
6328 __gen_uint(values->CommandType, 29, 31);
6331 __gen_uint(values->GeneralStateBaseAddressModifyEnable, 0, 0) |
6332 __gen_uint(values->StatelessDataPortAccessForceWriteThru, 3, 3) |
6333 __gen_uint(values->StatelessDataPortAccessMOCS, 4, 7) |
6334 __gen_uint(values->GeneralStateMOCS, 8, 11);
6335 dw[1] = __gen_address(data, &dw[1], values->GeneralStateBaseAddress, v1, 12, 31);
6338 __gen_uint(values->SurfaceStateBaseAddressModifyEnable, 0, 0) |
6339 __gen_uint(values->SurfaceStateMOCS, 8, 11);
6340 dw[2] = __gen_address(data, &dw[2], values->SurfaceStateBaseAddress, v2, 12, 31);
6343 __gen_uint(values->DynamicStateBaseAddressModifyEnable, 0, 0) |
6344 __gen_uint(values->DynamicStateMOCS, 8, 11);
6345 dw[3] = __gen_address(data, &dw[3], values->DynamicStateBaseAddress, v3, 12, 31);
6348 __gen_uint(values->IndirectObjectBaseAddressModifyEnable, 0, 0) |
6349 __gen_uint(values->IndirectObjectMOCS, 8, 11);
6350 dw[4] = __gen_address(data, &dw[4], values->IndirectObjectBaseAddress, v4, 12, 31);
6353 __gen_uint(values->InstructionBaseAddressModifyEnable, 0, 0) |
6354 __gen_uint(values->InstructionMOCS, 8, 11);
6355 dw[5] = __gen_address(data, &dw[5], values->InstructionBaseAddress, v5, 12, 31);
6358 __gen_uint(values->GeneralStateAccessUpperBoundModifyEnable, 0, 0);
6359 dw[6] = __gen_address(data, &dw[6], values->GeneralStateAccessUpperBound, v6, 12, 31);
6362 __gen_uint(values->DynamicStateAccessUpperBoundModifyEnable, 0, 0);
6363 dw[7] = __gen_address(data, &dw[7], values->DynamicStateAccessUpperBound, v7, 12, 31);
6366 __gen_uint(values->IndirectObjectAccessUpperBoundModifyEnable, 0, 0);
6367 dw[8] = __gen_address(data, &dw[8], values->IndirectObjectAccessUpperBound, v8, 12, 31);
6370 __gen_uint(values->InstructionAccessUpperBoundModifyEnable, 0, 0);
6371 dw[9] = __gen_address(data, &dw[9], values->InstructionAccessUpperBound, v9, 12, 31);
6396 __attribute__((unused)) const struct GFX7_STATE_PREFETCH * restrict values)
6401 __gen_uint(values->DWordLength, 0, 7) |
6402 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6403 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6404 __gen_uint(values->CommandSubType, 27, 28) |
6405 __gen_uint(values->CommandType, 29, 31);
6408 __gen_uint(values->PrefetchCount, 0, 2);
6409 dw[1] = __gen_address(data, &dw[1], values->PrefetchPointer, v1, 6, 31);
6433 __attribute__((unused)) const struct GFX7_STATE_SIP * restrict values)
6438 __gen_uint(values->DWordLength, 0, 7) |
6439 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6440 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6441 __gen_uint(values->CommandSubType, 27, 28) |
6442 __gen_uint(values->CommandType, 29, 31);
6445 __gen_offset(values->SystemInstructionPointer, 4, 31);
6470 __attribute__((unused)) const struct GFX7_SWTESS_BASE_ADDRESS * restrict values)
6475 __gen_uint(values->DWordLength, 0, 7) |
6476 __gen_uint(values->_3DCommandSubOpcode, 16, 23) |
6477 __gen_uint(values->_3DCommandOpcode, 24, 26) |
6478 __gen_uint(values->CommandSubType, 27, 28) |
6479 __gen_uint(values->CommandType, 29, 31);
6482 __gen_uint(values->SWTessellationMOCS, 8, 11);
6483 dw[1] = __gen_address(data, &dw[1], values->SWTessellationBaseAddress, v1, 12, 31);
6505 __attribute__((unused)) const struct GFX7_BCS_FAULT_REG * restrict values)
6510 __gen_uint(values->ValidBit, 0, 0) |
6511 __gen_uint(values->FaultType, 1, 2) |
6512 __gen_uint(values->SRCIDofFault, 3, 10) |
6513 __gen_uint(values->GTTSEL, 11, 11);
6514 dw[0] = __gen_address(data, &dw[0], values->VirtualAddressofFault, v0, 12, 31);
6529 __attribute__((unused)) const struct GFX7_BCS_INSTDONE * restrict values)
6534 __gen_uint(values->RingEnable, 0, 0) |
6535 __gen_uint(values->BlitterIDLE, 1, 1) |
6536 __gen_uint(values->GABIDLE, 2, 2) |
6537 __gen_uint(values->BCSDone, 3, 3);
6558 __attribute__((unused)) const struct GFX7_BCS_RING_BUFFER_CTL * restrict values)
6563 __gen_uint(values->RingBufferEnable, 0, 0) |
6564 __gen_uint(values->AutomaticReportHeadPointer, 1, 2) |
6565 __gen_uint(values->DisableRegisterAccesses, 8, 8) |
6566 __gen_uint(values->SemaphoreWait, 10, 10) |
6567 __gen_uint(values->RBWait, 11, 11) |
6568 __gen_uint(values->BufferLengthinpages1, 12, 20);
6580 __attribute__((unused)) const struct GFX7_CL_INVOCATION_COUNT * restrict values)
6585 __gen_uint(values->CLInvocationCountReport, 0, 63);
6599 __attribute__((unused)) const struct GFX7_CL_PRIMITIVES_COUNT * restrict values)
6604 __gen_uint(values->CLPrimitivesCountReport, 0, 63);
6618 __attribute__((unused)) const struct GFX7_CS_INVOCATION_COUNT * restrict values)
6623 __gen_uint(values->CSInvocationCountReport, 0, 63);
6637 __attribute__((unused)) const struct GFX7_DS_INVOCATION_COUNT * restrict values)
6642 __gen_uint(values->DSInvocationCountReport, 0, 63);
6663 __attribute__((unused)) const struct GFX7_ERR_INT * restrict values)
6668 __gen_uint(values->PrimaryAGTTFaultStatus, 0, 0) |
6669 __gen_uint(values->PrimaryBGTTFaultStatus, 1, 1) |
6670 __gen_uint(values->SpriteAGTTFaultStatus, 2, 2) |
6671 __gen_uint(values->SpriteBGTTFaultStatus, 3, 3) |
6672 __gen_uint(values->CursorAGTTFaultStatus, 4, 4) |
6673 __gen_uint(values->CursorBGTTFaultStatus, 5, 5) |
6674 __gen_uint(values->Invalidpagetableentrydata, 6, 6) |
6675 __gen_uint(values->InvalidGTTpagetableentry, 7, 7);
6695 __attribute__((unused)) const struct GFX7_GFX_ARB_ERROR_RPT * restrict values)
6700 __gen_uint(values->TLBPageFaultError, 0, 0) |
6701 __gen_uint(values->ContextPageFaultError, 1, 1) |
6702 __gen_uint(values->InvalidPageDirectoryentryerror, 2, 2) |
6703 __gen_uint(values->HardwareStatusPageFaultError, 3, 3) |
6704 __gen_uint(values->TLBPageVTDTranslationError, 4, 4) |
6705 __gen_uint(values->ContextPageVTDTranslationError, 5, 5) |
6706 __gen_uint(values->PageDirectoryEntryVTDTranslationError, 6, 6) |
6707 __gen_uint(values->HardwareStatusPageVTDTranslationError, 7, 7) |
6708 __gen_uint(values->UnloadedPDError, 8, 8);
6720 __attribute__((unused)) const struct GFX7_GS_INVOCATION_COUNT * restrict values)
6725 __gen_uint(values->GSInvocationCountReport, 0, 63);
6739 __attribute__((unused)) const struct GFX7_GS_PRIMITIVES_COUNT * restrict values)
6744 __gen_uint(values->GSPrimitivesCountReport, 0, 63);
6758 __attribute__((unused)) const struct GFX7_HS_INVOCATION_COUNT * restrict values)
6763 __gen_uint(values->HSInvocationCountReport, 0, 63);
6777 __attribute__((unused)) const struct GFX7_IA_PRIMITIVES_COUNT * restrict values)
6782 __gen_uint(values->IAPrimitivesCountReport, 0, 63);
6796 __attribute__((unused)) const struct GFX7_IA_VERTICES_COUNT * restrict values)
6801 __gen_uint(values->IAVerticesCountReport, 0, 63);
6834 __attribute__((unused)) const struct GFX7_INSTDONE_1 * restrict values)
6839 __gen_uint(values->PRB0RingEnable, 0, 0) |
6840 __gen_uint(values->VFGDone, 1, 1) |
6841 __gen_uint(values->VSDone, 2, 2) |
6842 __gen_uint(values->HSDone, 3, 3) |
6843 __gen_uint(values->TEDone, 4, 4) |
6844 __gen_uint(values->DSDone, 5, 5) |
6845 __gen_uint(values->GSDone, 6, 6) |
6846 __gen_uint(values->SOLDone, 7, 7) |
6847 __gen_uint(values->CLDone, 8, 8) |
6848 __gen_uint(values->SFDone, 9, 9) |
6849 __gen_uint(values->TDGDone, 12, 12) |
6850 __gen_uint(values->URBMDone, 13, 13) |
6851 __gen_uint(values->SVGDone, 14, 14) |
6852 __gen_uint(values->GAFSDone, 15, 15) |
6853 __gen_uint(values->VFEDone, 16, 16) |
6854 __gen_uint(values->TSGDone, 17, 17) |
6855 __gen_uint(values->GAFMDone, 18, 18) |
6856 __gen_uint(values->GAMDone, 19, 19) |
6857 __gen_uint(values->SDEDone, 22, 22) |
6858 __gen_uint(values->RCCFBCCSDone, 23, 23);
6877 __attribute__((unused)) const struct GFX7_INSTPM * restrict values)
6882 __gen_uint(values->_3DStateInstructionDisable, 1, 1) |
6883 __gen_uint(values->_3DRenderingInstructionDisable, 2, 2) |
6884 __gen_uint(values->MediaInstructionDisable, 3, 3) |
6885 __gen_uint(values->CONSTANT_BUFFERAddressOffsetDisable, 6, 6) |
6886 __gen_uint(values->_3DStateInstructionDisableMask, 17, 17) |
6887 __gen_uint(values->_3DRenderingInstructionDisableMask, 18, 18) |
6888 __gen_uint(values->MediaInstructionDisableMask, 19, 19) |
6889 __gen_uint(values->CONSTANT_BUFFERAddressOffsetDisableMask, 22, 22);
6908 __attribute__((unused)) const struct GFX7_L3CNTLREG2 * restrict values)
6913 __gen_uint(values->SLMEnable, 0, 0) |
6914 __gen_uint(values->URBAllocation, 1, 6) |
6915 __gen_uint(values->URBLowBandwidth, 7, 7) |
6916 __gen_uint(values->ALLAllocation, 8, 13) |
6917 __gen_uint(values->ROAllocation, 14, 19) |
6918 __gen_uint(values->ROLowBandwidth, 20, 20) |
6919 __gen_uint(values->DCAllocation, 21, 26) |
6920 __gen_uint(values->DCLowBandwidth, 27, 27);
6937 __attribute__((unused)) const struct GFX7_L3CNTLREG3 * restrict values)
6942 __gen_uint(values->ISAllocation, 1, 6) |
6943 __gen_uint(values->ISLowBandwidth, 7, 7) |
6944 __gen_uint(values->CAllocation, 8, 13) |
6945 __gen_uint(values->CLowBandwidth, 14, 14) |
6946 __gen_uint(values->TAllocation, 15, 20) |
6947 __gen_uint(values->TLowBandwidth, 21, 21);
6967 __attribute__((unused)) const struct GFX7_L3SQCREG1 * restrict values)
6972 __gen_uint(values->L3SQGeneralPriorityCreditInitialization, 20, 23) |
6973 __gen_uint(values->L3SQHighPriorityCreditInitialization, 16, 19) |
6974 __gen_uint(values->ConvertDC_UC, 24, 24) |
6975 __gen_uint(values->ConvertIS_UC, 25, 25) |
6976 __gen_uint(values->ConvertC_UC, 26, 26) |
6977 __gen_uint(values->ConvertT_UC, 27, 27);
6989 __attribute__((unused)) const struct GFX7_PS_INVOCATION_COUNT * restrict values)
6994 __gen_uint(values->PSInvocationCountReport, 0, 63);
7018 __attribute__((unused)) const struct GFX7_RCS_FAULT_REG * restrict values)
7023 __gen_uint(values->ValidBit, 0, 0) |
7024 __gen_uint(values->FaultType, 1, 2) |
7025 __gen_uint(values->SRCIDofFault, 3, 10) |
7026 __gen_uint(values->GTTSEL, 11, 11);
7027 dw[0] = __gen_address(data, &dw[0], values->VirtualAddressofFault, v0, 12, 31);
7046 __attribute__((unused)) const struct GFX7_RCS_RING_BUFFER_CTL * restrict values)
7051 __gen_uint(values->RingBufferEnable, 0, 0) |
7052 __gen_uint(values->AutomaticReportHeadPointer, 1, 2) |
7053 __gen_uint(values->SemaphoreWait, 10, 10) |
7054 __gen_uint(values->RBWait, 11, 11) |
7055 __gen_uint(values->BufferLengthinpages1, 12, 20);
7083 __attribute__((unused)) const struct GFX7_ROW_INSTDONE * restrict values)
7088 __gen_uint(values->BCDone, 0, 0) |
7089 __gen_uint(values->PSDDone, 1, 1) |
7090 __gen_uint(values->DCDone, 2, 2) |
7091 __gen_uint(values->DAPRDone, 3, 3) |
7092 __gen_uint(values->TDLDone, 6, 6) |
7093 __gen_uint(values->GWDone, 8, 8) |
7094 __gen_uint(values->ICDone, 12, 12) |
7095 __gen_uint(values->EU00DoneSS0, 16, 16) |
7096 __gen_uint(values->EU01DoneSS0, 17, 17) |
7097 __gen_uint(values->EU02DoneSS0, 18, 18) |
7098 __gen_uint(values->EU03DoneSS0, 19, 19) |
7099 __gen_uint(values->MA0DoneSS0, 20, 20) |
7100 __gen_uint(values->EU10DoneSS0, 21, 21) |
7101 __gen_uint(values->EU11DoneSS0, 22, 22) |
7102 __gen_uint(values->EU12DoneSS0, 23, 23) |
7103 __gen_uint(values->EU13DoneSS0, 24, 24) |
7104 __gen_uint(values->MA1Done, 25, 25);
7117 __attribute__((unused)) const struct GFX7_RPSTAT1 * restrict values)
7122 __gen_uint(values->PreviousGTFrequency, 0, 6) |
7123 __gen_uint(values->CurrentGTFrequency, 7, 14);
7153 __attribute__((unused)) const struct GFX7_SAMPLER_INSTDONE * restrict values)
7158 __gen_uint(values->VMEDone, 0, 0) |
7159 __gen_uint(values->PL0Done, 1, 1) |
7160 __gen_uint(values->SO0Done, 2, 2) |
7161 __gen_uint(values->DG0Done, 3, 3) |
7162 __gen_uint(values->FT0Done, 4, 4) |
7163 __gen_uint(values->DM0Done, 5, 5) |
7164 __gen_uint(values->SCDone, 6, 6) |
7165 __gen_uint(values->FL0Done, 7, 7) |
7166 __gen_uint(values->QCDone, 8, 8) |
7167 __gen_uint(values->SVSMDone, 9, 9) |
7168 __gen_uint(values->SI0Done, 10, 10) |
7169 __gen_uint(values->MT0Done, 11, 11) |
7170 __gen_uint(values->AVSDone, 12, 12) |
7171 __gen_uint(values->IEFDone, 13, 13) |
7172 __gen_uint(values->VDIDone, 14, 14) |
7173 __gen_uint(values->SVSMARB3, 15, 15) |
7174 __gen_uint(values->SVSMARB2, 16, 16) |
7175 __gen_uint(values->SVSMARB1, 17, 17) |
7176 __gen_uint(values->SVSMAdapter, 18, 18);
7203 __attribute__((unused)) const struct GFX7_SC_INSTDONE * restrict values)
7208 __gen_uint(values->SVLDone, 0, 0) |
7209 __gen_uint(values->WMFEDone, 1, 1) |
7210 __gen_uint(values->WMBEDone, 2, 2) |
7211 __gen_uint(values->HIZDone, 3, 3) |
7212 __gen_uint(values->STCDone, 4, 4) |
7213 __gen_uint(values->IZDone, 5, 5) |
7214 __gen_uint(values->SBEDone, 6, 6) |
7215 __gen_uint(values->RCZDone, 8, 8) |
7216 __gen_uint(values->RCCDone, 9, 9) |
7217 __gen_uint(values->RCPBEDone, 10, 10) |
7218 __gen_uint(values->RCPFEDone, 11, 11) |
7219 __gen_uint(values->DAPBDone, 12, 12) |
7220 __gen_uint(values->DAPRBEDone, 13, 13) |
7221 __gen_uint(values->IECPDone, 14, 14) |
7222 __gen_uint(values->SARBDone, 15, 15) |
7223 __gen_uint(values->VSCDone, 16, 16);
7235 __attribute__((unused)) const struct GFX7_SO_NUM_PRIMS_WRITTEN0 * restrict values)
7240 __gen_uint(values->NumPrimsWrittenCount, 0, 63);
7254 __attribute__((unused)) const struct GFX7_SO_NUM_PRIMS_WRITTEN1 * restrict values)
7259 __gen_uint(values->NumPrimsWrittenCount, 0, 63);
7273 __attribute__((unused)) const struct GFX7_SO_NUM_PRIMS_WRITTEN2 * restrict values)
7278 __gen_uint(values->NumPrimsWrittenCount, 0, 63);
7292 __attribute__((unused)) const struct GFX7_SO_NUM_PRIMS_WRITTEN3 * restrict values)
7297 __gen_uint(values->NumPrimsWrittenCount, 0, 63);
7311 __attribute__((unused)) const struct GFX7_SO_PRIM_STORAGE_NEEDED0 * restrict values)
7316 __gen_uint(values->PrimStorageNeededCount, 0, 63);
7330 __attribute__((unused)) const struct GFX7_SO_PRIM_STORAGE_NEEDED1 * restrict values)
7335 __gen_uint(values->PrimStorageNeededCount, 0, 63);
7349 __attribute__((unused)) const struct GFX7_SO_PRIM_STORAGE_NEEDED2 * restrict values)
7354 __gen_uint(values->PrimStorageNeededCount, 0, 63);
7368 __attribute__((unused)) const struct GFX7_SO_PRIM_STORAGE_NEEDED3 * restrict values)
7373 __gen_uint(values->PrimStorageNeededCount, 0, 63);
7387 __attribute__((unused)) const struct GFX7_SO_WRITE_OFFSET0 * restrict values)
7392 __gen_offset(values->WriteOffset, 2, 31);
7404 __attribute__((unused)) const struct GFX7_SO_WRITE_OFFSET1 * restrict values)
7409 __gen_offset(values->WriteOffset, 2, 31);
7421 __attribute__((unused)) const struct GFX7_SO_WRITE_OFFSET2 * restrict values)
7426 __gen_offset(values->WriteOffset, 2, 31);
7438 __attribute__((unused)) const struct GFX7_SO_WRITE_OFFSET3 * restrict values)
7443 __gen_offset(values->WriteOffset, 2, 31);
7465 __attribute__((unused)) const struct GFX7_VCS_FAULT_REG * restrict values)
7470 __gen_uint(values->ValidBit, 0, 0) |
7471 __gen_uint(values->FaultType, 1, 2) |
7472 __gen_uint(values->SRCIDofFault, 3, 10) |
7473 __gen_uint(values->GTTSEL, 11, 11);
7474 dw[0] = __gen_address(data, &dw[0], values->VirtualAddressofFault, v0, 12, 31);
7516 __attribute__((unused)) const struct GFX7_VCS_INSTDONE * restrict values)
7521 __gen_uint(values->RingEnable, 0, 0) |
7522 __gen_uint(values->USBDone, 1, 1) |
7523 __gen_uint(values->QRCDone, 2, 2) |
7524 __gen_uint(values->SECDone, 3, 3) |
7525 __gen_uint(values->MPCDone, 4, 4) |
7526 __gen_uint(values->VFTDone, 5, 5) |
7527 __gen_uint(values->BSPDone, 6, 6) |
7528 __gen_uint(values->VLFDone, 7, 7) |
7529 __gen_uint(values->VOPDone, 8, 8) |
7530 __gen_uint(values->VMCDone, 9, 9) |
7531 __gen_uint(values->VIPDone, 10, 10) |
7532 __gen_uint(values->VITDone, 11, 11) |
7533 __gen_uint(values->VDSDone, 12, 12) |
7534 __gen_uint(values->VMXDone, 13, 13) |
7535 __gen_uint(values->VCPDone, 14, 14) |
7536 __gen_uint(values->VCDDone, 15, 15) |
7537 __gen_uint(values->VADDone, 16, 16) |
7538 __gen_uint(values->VMDDone, 17, 17) |
7539 __gen_uint(values->VISDone, 18, 18) |
7540 __gen_uint(values->VACDone, 19, 19) |
7541 __gen_uint(values->VAMDone, 20, 20) |
7542 __gen_uint(values->JPGDone, 21, 21) |
7543 __gen_uint(values->VBPDone, 22, 22) |
7544 __gen_uint(values->VHRDone, 23, 23) |
7545 __gen_uint(values->VCIDone, 24, 24) |
7546 __gen_uint(values->VCRDone, 25, 25) |
7547 __gen_uint(values->VINDone, 26, 26) |
7548 __gen_uint(values->VPRDone, 27, 27) |
7549 __gen_uint(values->VTQDone, 28, 28) |
7550 __gen_uint(values->VCSDone, 30, 30) |
7551 __gen_uint(values->GACDone, 31, 31);
7572 __attribute__((unused)) const struct GFX7_VCS_RING_BUFFER_CTL * restrict values)
7577 __gen_uint(values->RingBufferEnable, 0, 0) |
7578 __gen_uint(values->AutomaticReportHeadPointer, 1, 2) |
7579 __gen_uint(values->DisableRegisterAccesses, 8, 8) |
7580 __gen_uint(values->SemaphoreWait, 10, 10) |
7581 __gen_uint(values->RBWait, 11, 11) |
7582 __gen_uint(values->BufferLengthinpages1, 12, 20);
7594 __attribute__((unused)) const struct GFX7_VS_INVOCATION_COUNT * restrict values)
7599 __gen_uint(values->VSInvocationCountReport, 0, 63);