Line 311: |
Line 311: |
| | 0x287+8*N || SetViewportIncreaseSnapGridPrecision || 1 || bitfield || Bit0-4: BiasX, bit8-bit11: BiasY | | | 0x287+8*N || SetViewportIncreaseSnapGridPrecision || 1 || bitfield || Bit0-4: BiasX, bit8-bit11: BiasY |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x300+4*N || ViewportNHorizontal || 1 || bitfield || Bit0-15: X, bit16-31: Width | + | | 0x300+4*N || SetViewportClipHorizontal || 1 || bitfield || Bit0-15: X, bit16-31: Width |
| |- | | |- |
− | | 0x301+4*N || ViewportNVertical || 1 || bitfield || Bit0-15: Y, bit16-31: Height | + | | 0x301+4*N || SetViewportClipVertical || 1 || bitfield || Bit0-15: Y, bit16-31: Height |
| |- | | |- |
− | | 0x302+4*N || ViewportNDepthRangeNear || 1 || float || | + | | 0x302+4*N || SetViewportClipMinZ || 1 || float || |
| |- | | |- |
− | | 0x303+4*N || ViewportNDepthRangeFar || 1 || float || | + | | 0x303+4*N || SetViewportClipMaxZ || 1 || float || |
| + | |- style="border-top: double" |
| + | | 0x340+2*N || SetWindowClipHorizontal || 1 || || n=0..7, TODO |
| + | |- |
| + | | 0x341+2*N || SetWindowClipVertical || 1 || || TODO |
| + | |- style="border-top: double" |
| + | | 0x350+2*N || SetClipIdExtentX || 1 || || |
| + | |- |
| + | | 0x351+2*N || SetClipIdExtentY || 1 || || |
| + | |- style="border-top: double" |
| + | | 0x358 || SetMaxStreamOutputGsInstancesPerTask || 1 || || |
| + | |- |
| + | | 0x359 || SetApiVisibleCallLimit || 1 || uint || 0=FullLimit, 1...8=?, 15=Unlimited |
| + | |- |
| + | | 0x35A || SetStatisticsCounter || 1 || bitfield || Bit0: ?, bit1: ?, ... bit15: ? |
| + | |- |
| + | | 0x35B || SetClearRectHorizontal || 1 || || |
| + | |- |
| + | | 0x35C || SetClearRectVertical || 1 || || |
| + | |- |
| + | | 0x35D || SetVertexArrayStart || 1 || || |
| + | |- |
| + | | 0x35E || DrawVertexArray || 1 || || |
| + | |- |
| + | | 0x35F || SetViewportZClip || 1 || bool || |
| + | |- |
| + | | 0x360+N || SetColorClearValue || 4 || float || |
| + | |- |
| + | | 0x364 || SetZClearValue || 1 || float || |
| + | |- |
| + | | 0x365 || SetShaderCacheControl || 1 || || |
| + | |- |
| + | | 0x366 || ForceTransitionToBeta || 1 || || |
| + | |- |
| + | | 0x367 || SetReduceColorThresholdsEnable || 1 || || |
| + | |- |
| + | | 0x368 || SetStencilClearValue || 1 || || |
| + | |- |
| + | | 0x368 || InvalidateShaderCachesNoWfi || 1 || || |
| + | |- |
| + | | 0x368 || SetZcullSerialization || 1 || || |
| + | |- |
| + | | 0x36B || SetFrontPolygonMode || 1 || bitfield || 0x1B00/0x1B01/0x1B02 |
| + | |- |
| + | | 0x36C || SetBackPolygonMode || 1 || bitfield || 0x1B00/0x1B01/0x1B02 |
| |- | | |- |
− | | 0x340+2*N || ClipRectNHorizontal || 1 || || n=0..7, TODO | + | | 0x36D || SetPolySmooth || 1 || bool || |
| |- | | |- |
− | | 0x341+2*N || ClipRectNVertical || 1 || || TODO | + | | 0x36E || SetZtMark || 1 || || |
| |- | | |- |
− | | 0x359 || CallLimit || 1 || uint || 0=FullLimit, 1...8=?, 15=Unlimited | + | | 0x36F || SetZcullDirFormat || 1 || bitfield || Bit0:?, bit16:?. Used by ClearDepthStencil. |
| |- | | |- |
− | | 0x35A || CounterEnable || 1 || bitfield || Bit0: ?, bit1: ?, ... bit15: ? | + | | 0x370 || SetPolyOffsetPoint || 1 || bool || |
| |- | | |- |
− | | 0x35D || VertexBufferFirst || 1 || || | + | | 0x371 || SetPolyOffsetLine || 1 || bool || |
| |- | | |- |
− | | 0x35E || VertexBufferCount || 1 || || | + | | 0x372 || SetPolyOffsetFill || 1 || bool || |
| |- | | |- |
− | | 0x35F || DepthClipAllowNegativeZ || 1 || bool || | + | | 0x373 || SetPatch || 1 || || Small value, always fits in 12 bits. In number of vertices. |
| |- | | |- |
− | | 0x360 || ClearColor || 4 || float || | + | | 0x374 || SetIteratedBlend || 1 || || 0 written here for "simple" BlendState. |
| |- | | |- |
− | | 0x364 || ClearDepth || 1 || float || | + | | 0x375 || SetIteratedBlendPass || 1 || || |
− | |- style="border-top: double" | + | |- |
− | | 0x368 || ClearStencil || 1 || || | + | | 0x376 || SetZcullCriterion || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x36B || PolygonModeFront || 1 || bitfield || 0x1B00/0x1B01/0x1B02 | + | | 0x378 || PixelShaderBarrier || 1 || || |
| |- | | |- |
− | | 0x36C || PolygonModeBack || 1 || bitfield || 0x1B00/0x1B01/0x1B02 | + | | 0x379 || SetSmTimeoutInterval || 1 || || |
| |- | | |- |
− | | 0x36D || PolygonSmoothEnable || 1 || bool || | + | | 0x37A || SetDaPrimitiveRestartVertexArray || 1 || boolean || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x36F || ? || 1 || bitfield || Bit0:?, bit16:?. Used by ClearDepthStencil. | + | | 0x37C || LoadIteratedBlendInstructionPointer || 1 || || |
| + | |- |
| + | | 0x37D || LoadIteratedBlendInstruction || 1 || || |
| |- | | |- |
− | | 0x370 || PolygonOffsetPointEnable || 1 || bool || | + | | 0x37E || SetWindowOffsetX || 1 || int || |
| |- | | |- |
− | | 0x371 || PolygonOffsetLineEnable || 1 || bool || | + | | 0x37F || SetWindowOffsetY || 1 || int || |
| |- | | |- |
− | | 0x372 || PolygonOffsetFillEnable || 1 || bool || | + | | 0x380+4*N || SetScissorEnable || 1 || bool || n=0..15. GpuInit writes 1 here. |
| |- | | |- |
− | | 0x373 || PatchSize || 1 || || Small value, always fits in 12 bits. In number of vertices. | + | | 0x381+4*N || SetScissorHorizontal || 1 || bitfield || Bit0-15: min, bit16-31: max |
| |- | | |- |
− | | 0x374 || || 1 || || 0 written here for "simple" BlendState. | + | | 0x382+4*N || SetScissorVertical || 1 || bitfield || Bit0-15: min, bit16-31: max |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x379 || WatchdogTimer || 1 || || | + | | 0x3C4 || SetSelectMaxwellTextureHeaders || 1 || || |
| |- | | |- |
− | | 0x37A || PrimitiveRestartWithDrayArrays || 1 || boolean || | + | | 0x3C5 || SetVpcPerfKnob || 1 || || |
| + | |- |
| + | | 0x3C6 || PmLocalTrigger || 1 || || |
| + | |- |
| + | | 0x3C7 || SetPostZPsImask || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x37E || WindowOffsetX || 1 || int || | + | | 0x3D0 || SetConstantColorRendering || 1 || || |
| |- | | |- |
− | | 0x37F || WindowOffsetY || 1 || int || | + | | 0x3D1 || SetConstantColorRenderingRed || 1 || || |
− | |- style="border-top: double" | + | |- |
− | | 0x380+4*N || ScissorNEnable || 1 || bool || n=0..15. GpuInit writes 1 here. | + | | 0x3D2 || SetConstantColorRenderingGreen || 1 || || |
| + | |- |
| + | | 0x3D3 || SetConstantColorRenderingBlue || 1 || || |
| |- | | |- |
− | | 0x381+4*N || ScissorNHorizontal || 1 || bitfield || Bit0-15: min, bit16-31: max | + | | 0x3D4 || SetConstantColorRenderingAlpha || 1 || || |
| |- | | |- |
− | | 0x382+4*N || ScissorNVertical || 1 || bitfield || Bit0-15: min, bit16-31: max
| + | | 0x3D5 || SetBackStencilFuncRef || 1 || || |
− | |- style="border-top: double"
| |
− | | 0x3D5 || StencilBackRefValue || 1 || || | |
| |- | | |- |
− | | 0x3D6 || StencilBackEnable || 1 || bool || | + | | 0x3D6 || SetBackStencilMask || 1 || bool || |
| |- | | |- |
− | | 0x3D7 || StencilBackValueMask || 1 || || | + | | 0x3D7 || SetBackStencilFuncMask || 1 || || |
| |- | | |- |
| | 0x3D8 || TiledCacheAction0 || 1 || bool || Trigger? | | | 0x3D8 || TiledCacheAction0 || 1 || bool || Trigger? |
Line 384: |
Line 434: |
| |- style="border-top: double" | | |- style="border-top: double" |
| | 0x3E0 || TiledCacheAction1 || 1 || bool || Trigger? | | | 0x3E0 || TiledCacheAction1 || 1 || bool || Trigger? |
| + | |- |
| + | | 0x3E1 || SetVertexStreamSubstituteA || 1 || || |
| + | |- |
| + | | 0x3E2 || SetVertexStreamSubstituteB || 1 || || |
| + | |- |
| + | | 0x3E3 || SetLineModePolygonClip || 1 || || |
| + | |- |
| + | | 0x3E4 || SetSingleCtWriteControl || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x3E7 || DepthBounds || 2 || float[2] || | + | | 0x3E6 || SetVtgWarpWatermarks || 1 || || |
| + | |- |
| + | | 0x3E7 || SetDepthBoundsMin || 1 || float || |
| + | |- |
| + | | 0x3E8 || SetDepthBoundsMax || 1 || float || |
| + | |- |
| + | | 0x3E9 || SetSampleMask || 1 || || |
| + | |- |
| + | | 0x3EA || SetColorTargetSampleMask || 1 || || |
| + | |- |
| + | | 0x3EB || SetCtMrtEnable || 1 || || |
| + | |- |
| + | | 0x3EC || SetNonmultisampledZ || 1 || || |
| + | |- |
| + | | 0x3ED || SetTir || 1 || bool || Also written 0 when clearing all colors. |
| + | |- |
| + | | 0x3EE || SetAntiAliasRaster || 1 || bitfield || 2=Four, 4=Eight, 5=?, 6=Sixteen |
| + | |- |
| + | | 0x3EF || SetSampleMaskX0Y0 || 1 || || |
| + | |- |
| + | | 0x3F0 || SetSampleMaskX1Y0 || 1 || || |
| + | |- |
| + | | 0x3F1 || SetSampleMaskX0Y1 || 1 || || |
| + | |- |
| + | | 0x3F2 || SetSampleMaskX1Y1 || 1 || || |
| + | |- |
| + | | 0x3F3 || SetSurfaceClipIdMemoryA || 1 || || |
| + | |- |
| + | | 0x3F4 || SetSurfaceClipIdMemoryB || 1 || || |
| + | |- |
| + | | 0x3F5 || SetTirModulation || 1 || || |
| + | |- |
| + | | 0x3F6 || SetTirModulationFunction || 1 || || |
| + | |- |
| + | | 0x3F7 || SetBlendOptControl || 1 || || |
| + | |- |
| + | | 0x3F8 || SetZtA || 1 || gpuva || SetRenderTargets writes the address of an optional buffer here. |
| + | |- |
| + | | 0x3F9 || SetZtB || 1 || gpuva || SetRenderTargets writes the address of an optional buffer here. |
| + | |- |
| + | | 0x3FA || SetZtFormat || 1 || || SetRenderTargets writes here optionally. |
| + | |- |
| + | | 0x3FB || SetZtBlockSize || 1 || || SetRenderTargets writes here optionally. |
| + | |- |
| + | | 0x3FC || SetZtArrayPitch || 1 || || SetRenderTargets writes here optionally. |
| + | |- |
| + | | 0x3FD || SetSurfaceClipHorizontal || 1 || || SetRenderTargets writes here |
| + | |- |
| + | | 0x3FE || SetSurfaceClipVertical || 1 || || |
| + | |- |
| + | | 0x3FF || SetTiledCacheBundleControl || 1 || || |
| + | |- |
| + | | 0x400 || SetL2CacheControlForVafRequests || 1 || || |
| + | |- |
| + | | 0x401 || SetViewportMulticast || 1 || || |
| + | |- |
| + | | 0x402 || SetTessellationCutHeight || 1 || || |
| + | |- |
| + | | 0x403 || SetMaxGsInstancesPerTask || 1 || || |
| + | |- |
| + | | 0x404 || SetMaxGsOutputVerticesPerTask || 1 || || |
| + | |- |
| + | | 0x405 || SetReservedSwMethod00 || 1 || || |
| + | |- |
| + | | 0x406 || SetGsOutputCbStorageMultiplier || 1 || || |
| + | |- |
| + | | 0x407 || SetBetaCbStorageConstraint || 1 || || |
| + | |- |
| + | | 0x408 || SetTiOutputCbStorageMultiplier || 1 || || |
| + | |- |
| + | | 0x409 || SetAlphaCbStorageConstraint || 1 || || |
| + | |- |
| + | | 0x40A || SetReservedSwMethod01 || 1 || || |
| + | |- |
| + | | 0x40B || SetReservedSwMethod02 || 1 || || |
| + | |- |
| + | | 0x40C+N || SetTirModulationCoefficientTable || 4 || float[4] || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x3ED || MultisampleRasterEnable || 1 || bool || Also written 0 when clearing all colors. | + | | 0x411 || SetSpareNoop01 || 1 || || |
| + | |- |
| + | | 0x412 || SetSpareNoop02 || 1 || || |
| + | |- |
| + | | 0x413 || SetSpareNoop03 || 1 || || |
| + | |- |
| + | | 0x414 || SetSpareNoop04 || 1 || || |
| + | |- |
| + | | 0x415 || SetSpareNoop05 || 1 || || |
| + | |- |
| + | | 0x416 || SetSpareNoop06 || 1 || || |
| + | |- |
| + | | 0x417 || SetSpareNoop07 || 1 || || |
| |- | | |- |
− | | 0x3EE || MultisampleRasterSamples || 1 || bitfield || 2=Four, 4=Eight, 5=?, 6=Sixteen | + | | 0x418 || SetSpareNoop08 || 1 || || |
| |- | | |- |
− | | 0x3EF || MultisampleCoverageModulationMode || 1 || || | + | | 0x419 || SetSpareNoop09 || 1 || || |
| |- | | |- |
− | | 0x3F0 || SampleMask0 || 1 || || | + | | 0x41A || SetSpareNoop10 || 1 || || |
| |- | | |- |
− | | 0x3F1 || SampleMask1 || 1 || || | + | | 0x41B || SetSpareNoop11 || 1 || || |
| |- | | |- |
− | | 0x3F2 || SampleMask2 || 1 || || | + | | 0x41C || SetSpareNoop12 || 1 || || |
| + | |- |
| + | | 0x41D || SetSpareNoop13 || 1 || || |
| + | |- |
| + | | 0x41E || SetSpareNoop14 || 1 || || |
| + | |- |
| + | | 0x41F || SetSpareNoop15 || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x3F5 || Multisample_Related2 || 1 || || TODO | + | | 0x42C || SetReservedSwMethod03 || 1 || || |
| + | |- |
| + | | 0x42D || SetReservedSwMethod04 || 1 || || |
| + | |- |
| + | | 0x42E || SetReservedSwMethod05 || 1 || || |
| + | |- |
| + | | 0x42F || SetReservedSwMethod06 || 1 || || |
| + | |- |
| + | | 0x430 || SetReservedSwMethod07 || 1 || || |
| + | |- |
| + | | 0x431 || SetReservedSwMethod08 || 1 || || |
| |- | | |- |
− | | 0x3F6 || CoverageModulationEnable || 1 || bool || | + | | 0x432 || SetReservedSwMethod09 || 1 || || |
| + | |- |
| + | | 0x433 || SetReduceColorThresholdsUnorm8 || 1 || || GpuInit writes 4 here. |
| + | |- |
| + | | 0x434 || SetReservedSwMethod10 || 1 || || |
| + | |- |
| + | | 0x435 || SetReservedSwMethod11 || 1 || || |
| + | |- |
| + | | 0x436 || SetReservedSwMethod12 || 1 || || |
| + | |- |
| + | | 0x437 || SetReservedSwMethod13 || 1 || || |
| + | |- |
| + | | 0x438 || SetReduceColorThresholdsUnorm10 || 1 || || GpuInit writes 0xFF here. |
| + | |- |
| + | | 0x439 || SetReduceColorThresholdsUnorm16 || 1 || || GpuInit writes 0xFF here. |
| + | |- |
| + | | 0x43A || SetReduceColorThresholdsFp11 || 1 || || |
| + | |- |
| + | | 0x43B || SetReduceColorThresholdsFp16 || 1 || || GpuInit writes 0xFF here. |
| + | |- |
| + | | 0x43C || SetReduceColorThresholdsSrgb8 || 1 || || GpuInit writes 4 here. |
| + | |- |
| + | | 0x43D || UnbindAll || 1 || bitfield || Bit0: InvalidateTextureHeaders, bit4: InvalidateTextureSamplers, bit8: InvalidateConstBuffers |
| + | |- |
| + | | 0x43E || SetClearSurfaceControl || 1 || || GpuInit writes 0x101 here. |
| + | |- |
| + | | 0x43F || SetL2CacheControlForRopNoninterlockedReadRequests || 1 || || |
| + | |- |
| + | | 0x440 || SetReservedSwMethod14 || 1 || || |
| + | |- |
| + | | 0x441 || SetReservedSwMethod15 || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x3F8 || Unknown?Addr || 2 || gpuva || SetRenderTargets writes the address of an optional buffer here. | + | | 0x443 || NoOperationDataHi || 1 || || |
| + | |- |
| + | | 0x444 || SetDepthBiasControl || 1 || || |
| + | |- |
| + | | 0x445 || PmTriggerEnd || 1 || || |
| + | |- |
| + | | 0x446 || SetVertexIdBase || 1 || bool || |
| + | |- |
| + | | 0x447 || SetStencilCompression || 1 || || |
| + | |- |
| + | | 0x448+N || SetDaOutputAttributeSkipMaskA || 2 || || |
| + | |- |
| + | | 0x44A+N || SetDaOutputAttributeSkipMaskB || 2 || || |
| |- | | |- |
− | | 0x3FA || Unknown?TileMode || 1 || || SetRenderTargets writes here optionally. | + | | 0x44C || SetTirControl || 1 || || |
| + | |- |
| + | | 0x44D || SetMutableMethodControl || 1 || bool || Trigger? |
| |- | | |- |
− | | 0x3FB || Unknown?ArrayMode || 1 || || SetRenderTargets writes here optionally. | + | | 0x44E || SetPostPsInitialCoverage || 1 || || |
| |- | | |- |
− | | 0x3FC || Unknown?BaseLayer || 1 || || SetRenderTargets writes here optionally. | + | | 0x44F || SetFillViaTriangle || 1 || || |
| |- | | |- |
− | | 0x3FD || || 1 || bitfield?[2] || SetRenderTargets writes here | + | | 0x450 || SetBlendPerFormatEnable || 1 || || |
| + | |- |
| + | | 0x451 || FlushPendingWrites || 1 || || |
| + | |- |
| + | | 0x452 || RasterEnable || 1 || bool || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x40C || CoverageModulationTable || 4 || float[4] || | + | | 0x458+N || SetVertexAttributeA || 4 || bitfield[16] || Bit0-4: StreamIndex, bit7-20: Format0, bit21-30: Format1 |
| + | |- |
| + | | 0x468+N || SetVertexAttributeB || 4 || bitfield[16] || Bit0-4: StreamIndex, bit7-20: Format0, bit21-30: Format1 |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x433 || || 1 || || GpuInit writes 4 here. | + | | 0x478+N || SetAntiAliasSamplePositions || 3 || bitfield[3] || Bit0-3: x0, bit4-7: y0, bit8-11: x1, etc.. |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x438 || || 1 || || GpuInit writes 0xFF here. | + | | 0x47C || SetOffsetRenderTargetIndex || 1 || trigger || BindProgram writes 0 here sometimes. |
| |- | | |- |
− | | 0x439 || || 1 || || GpuInit writes 0xFF here. | + | | 0x47D || ForceHeavyweightMethodSync || 1 || || |
| + | |- |
| + | | 0x47E || SetCoverageToColor || 1 || bitfield || Bit0: Enable, bit4-6: ? |
| + | |- |
| + | | 0x47F || DecompressZetaSurface || 1 || trigger || 1 is written here to trigger. |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x43B || || 1 || || GpuInit writes 0xFF here. | + | | 0x482 || SetZtSparse || 1 || || |
| |- | | |- |
− | | 0x43C || || 1 || || GpuInit writes 4 here. | + | | 0x483 || InvalidateSamplerCacheAll || 1 || || |
| |- | | |- |
− | | 0x43D || Unbind (???) || 1 || bitfield || Bit0: InvalidateTextureHeaders, bit4: InvalidateTextureSamplers, bit8: InvalidateConstBuffers | + | | 0x484 || InvalidateTextureHeaderCacheAll || 1 || || |
| |- | | |- |
− | | 0x43E || ClearFlags? || 1 || || GpuInit writes 0x101 here. | + | | 0x485 || DrawVertexArrayBeginEndInstanceFirst || 1 || || |
| + | |- |
| + | | 0x486 || DrawVertexArrayBeginEndInstanceSubsequent || 1 || || |
| + | |- |
| + | | 0x487 || SetCtSelect || 1 || bitfield || Bit0-3: NumberOfRenderTargets, bunch of other flags. Used by SetRenderTargets. |
| + | |- |
| + | | 0x488 || SetCompressionThreshold || 1 || || |
| + | |- |
| + | | 0x489 || SetPixelShaderInterlockControl || 1 || || |
| + | |- |
| + | | 0x48A || SetZtSizeA || 1 || || Optionally used by SetRenderTargets. |
| + | |- |
| + | | 0x48B || SetZtSizeB || 1 || || Optionally used by SetRenderTargets. |
| + | |- |
| + | | 0x48C || SetZtSizeC || 1 || || Optionally used by SetRenderTargets. |
| + | |- |
| + | | 0x48D || SetSamplerBinding || 1 || enum || 0=Independently, 1=ViaHeaderBinding |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x446 || DrawElementsEnableBaseVertex? || 1 || bool || TODO | + | | 0x48F || DrawAuto || 1 || || |
| + | |- |
| + | | 0x490+N || SetPostVtgShaderAttributeSkipMask || 8 || || |
| + | |- |
| + | | 0x498 || SetPixelShaderTicketDispenserValue || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x44D || TiledCacheAction2 || 1 || bool || Trigger? | + | | 0x4A0 || SetCircularBufferSize || 1 || || |
| + | |- |
| + | | 0x4A1 || SetVtgRegisterWatermarks || 1 || || |
| + | |- |
| + | | 0x4A2 || InvalidateTextureDataCacheNoWfi || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x452 || RasterEnable || 1 || bool || | + | | 0x4A4 || SetL2CacheControlForRopInterlockedReadRequests || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x458 || VertexStreamNAttrib || 4 || bitfield[16] || Bit0-4: StreamIndex, bit7-20: Format0, bit21-30: Format1 | + | | 0x4A9 || SetDaPrimitiveRestartIndexTopologyChange || 1 || || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x478 || MultisampleGrid || 3 || bitfield[3] || Bit0-3: x0, bit4-7: y0, bit8-11: x1, etc.. | + | | 0x4AB || ShaderScheduling || 1 || enum || 0=OldestThreadFirst, 1=RoundRobin |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x47C || || 1 || trigger || BindProgram writes 0 here sometimes. | + | | 0x4B2 || ClearZcullRegion || 1 || || |
| + | |- |
| + | | 0x4B3 || SetDepthTest || 1 || bool || Enables DepthWriteEnable and DepthFunc. |
| + | |- |
| + | | 0x4B4 || SetFillMode || 1 || || |
| + | |- |
| + | | 0x4B5 || SetShadeMode || 1 || || |
| + | |- |
| + | | 0x4B6 || SetL2CacheControlForRopNoninterlockedWriteRequests || 1 || || |
| + | |- |
| + | | 0x4B7 || SetL2CacheControlForRopInterlockedWriteRequests || 1 || || |
| + | |- |
| + | | 0x4B8 || SetAlphaToCoverageDitherControl || 1 || bool || |
| + | |- |
| + | | 0x4B9 || SetBlendStatePerTarget || 1 || bool || 1 written here for "simple" BlendState. |
| + | |- |
| + | | 0x4BA || SetDepthWrite || 1 || bool || |
| + | |- |
| + | | 0x4BB || SetAlphaTest || 1 || bool || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x47E || MultisampleCoverageToColor || 1 || bitfield || Bit0: Enable, bit4-6: ? | + | | 0x4C0 || SetInlineIndex4x8Align || 1 || || |
| |- | | |- |
− | | 0x47F || DepthBufferResolve || 1 || trigger || 1 is written here to trigger. | + | | 0x4C1 || DrawInlineIndex4x8 || 1 || || |
| + | |- |
| + | | 0x4C2 || D3dSetCullMode || 1 || || |
| + | |- |
| + | | 0x4C3 || SetDepthFunc || 1 || bitfield || Bit0-3: DepthFunc |
| + | |- |
| + | | 0x4C4 || SetAlphaRef || 1 || float || |
| + | |- |
| + | | 0x4C5 || SetAlphaFunc || 1 || bitfield || Bit0-3: AlphaTestFunc |
| + | |- |
| + | | 0x4C6 || SetDrawAutoStride || 1 || || |
| + | |- |
| + | | 0x4C7 || SetBlendConstRed || 1 || float || |
| + | |- |
| + | | 0x4C8 || SetBlendConstGreen || 1 || float || |
| + | |- |
| + | | 0x4C9 || SetBlendConstBlue || 1 || float || |
| + | |- |
| + | | 0x4CA || SetBlendConstAlpha || 1 || float || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x487 || RenderTargetControl || 1 || bitfield || Bit0-3: NumberOfRenderTargets, bunch of other flags. Used by SetRenderTargets. | + | | 0x4CC || InvalidateSamplerCache || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag |
− | |- style="border-top: double" | + | |- |
− | | 0x48A || || 1 || || Optionally used by SetRenderTargets. | + | | 0x4CD || InvalidateTextureHeaderCache || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag |
| + | |- |
| + | | 0x4CE || InvalidateTextureDataCache || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag |
| + | |- |
| + | | 0x4CF || SetBlendSeparateForAlpha || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag |
| + | |- |
| + | | 0x4D0 || SetBlendColorOp || 1 || || |
| + | |- |
| + | | 0x4D1 || SetBlendColorSourceCoeff || 1 || || |
| + | |- |
| + | | 0x4D2 || SetBlendColorDestCoeff || 1 || || |
| + | |- |
| + | | 0x4D3 || SetBlendAlphaOp || 1 || || |
| + | |- |
| + | | 0x4D4 || SetBlendAlphaSourceCoeff || 1 || || |
| + | |- |
| + | | 0x4D5 || SetGlobalColorKey || 1 || || |
| + | |- |
| + | | 0x4D6 || SetBlendAlphaDestCoeff || 1 || || |
| |- | | |- |
− | | 0x48B || || 1 || || Optionally used by SetRenderTargets. | + | | 0x4D7 || SetSingleRopControl || 1 || || |
| |- | | |- |
− | | 0x48C || || 1 || || Optionally used by SetRenderTargets. | + | | 0x4D8+N || SetBlend || 8 || || |
| |- | | |- |
− | | 0x48D || SamplerBinding (???) || 1 || enum || 0=Independently, 1=ViaHeaderBinding | + | | 0x4E0 || SetStencilTest || 1 || bool || |
− | |- style="border-top: double"
| |
− | | 0x4A2 || InvalidateTextureDataNoWfi (???) || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag
| |
− | |- style="border-top: double"
| |
− | | 0x4AB || ShaderScheduling (???) || 1 || enum || 0=OldestThreadFirst, 1=RoundRobin
| |
− | |- style="border-top: double"
| |
− | | 0x4B3 || DepthTestEnable || 1 || bool || Enables DepthWriteEnable and DepthFunc.
| |
− | |- style="border-top: double"
| |
− | | 0x4B8 || MultisampleAlphaToCoverageDither || 1 || bool ||
| |
| |- | | |- |
− | | 0x4B9 || BlendIndependent || 1 || bool || 1 written here for "simple" BlendState. | + | | 0x4E1 || SetStencilOpFail || 1 || || |
| |- | | |- |
− | | 0x4BA || DepthWriteEnable || 1 || bool || | + | | 0x4E2 || SetStencilOpZfail || 1 || || |
| |- | | |- |
− | | 0x4BB || AlphaTestEnable || 1 || bool || | + | | 0x4E3 || SetStencilOpZpass || 1 || || |
− | |- style="border-top: double"
| |
− | | 0x4C3 || DepthFunc || 1 || bitfield || Bit0-3: DepthFunc
| |
| |- | | |- |
− | | 0x4C4 || AlphaTestRefValue || 1 || float || | + | | 0x4E4 || SetStencilFunc || 1 || || |
| |- | | |- |
− | | 0x4C5 || AlphaTestFunc || 1 || bitfield || Bit0-3: AlphaTestFunc | + | | 0x4E5 || SetStencilFuncRef || 1 || || |
− | |- style="border-top: double"
| |
− | | 0x4C7 || BlendColor || 4 || float[4] || TODO
| |
− | |- style="border-top: double"
| |
− | | 0x4CC || InvalidateSamplerCache (???) || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag
| |
| |- | | |- |
− | | 0x4CD || InvalidateTextureHeaderCache (???) || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag | + | | 0x4E6 || SetStencilFuncMask || 1 || || |
| |- | | |- |
− | | 0x4CE || InvalidateTextureDataCache (???) || 1 || bitfield || bit0: 0=AllLines, 1=OneLine, bit4-25: Tag | + | | 0x4E7 || SetStencilMask || 1 || bool || |
| |- style="border-top: double" | | |- style="border-top: double" |
− | | 0x4E0 || StencilEnable || 1 || bool || | + | | 0x4E9 || SetDrawAutoStart || 1 || || |
− | |- style="border-top: double" | + | |- |
− | | 0x4E5 || StencilFrontRefValue || 1 || || | + | | 0x4EA || SetPsSaturate || 1 || || |
| |- | | |- |
− | | 0x4E6 || StencilFrontMaskValue || 1 || || | + | | 0x4EB || SetWindowOrigin || 1 || || |
| |- | | |- |
− | | 0x4E7 || StencilFrontEnable || 1 || bool ||
| + | | 0x4EC || SetLineWidthFloat || 1 || float || |
− | |- style="border-top: double"
| |
− | | 0x4EC || LineWidthSmooth || 1 || float || | |
| |- | | |- |
− | | 0x4ED || LineWidthAliased || 1 || float || | + | | 0x4ED || SetAliasedLineWidthFloat || 1 || float || |
| |- style="border-top: double" | | |- style="border-top: double" |
| | 0x50D || VertexBufferElementBase || 1 || uint || | | | 0x50D || VertexBufferElementBase || 1 || uint || |