Line 49: |
Line 49: |
| |- | | |- |
| | 0x373 || PatchSize || Small value, always fits in 12 bits. | | | 0x373 || PatchSize || Small value, always fits in 12 bits. |
| + | |- |
| + | | 0x374 || || 0 written here for "simple" BlendState. |
| |- | | |- |
| | 0x381+4*N || Scissor0_N | | | 0x381+4*N || Scissor0_N |
Line 71: |
Line 73: |
| |- | | |- |
| | 0x3F2 || SampleMask3 || | | | 0x3F2 || SampleMask3 || |
| + | |- |
| + | | 0x3F6 || CoverageModulation_Enable || 1 means enabled, 0 means disabled. |
| + | |- |
| + | | 0x40C || CoverageModulation_Table0 || Float is written here. |
| + | |- |
| + | | 0x40D || CoverageModulation_Table1 || Float is written here. |
| + | |- |
| + | | 0x40E || CoverageModulation_Table2 || Float is written here. |
| + | |- |
| + | | 0x40F || CoverageModulation_Table3 || Float is written here. |
| |- | | |- |
| | 0x452 || Raster_Enable || 1 means enabled, 0 means disabled. | | | 0x452 || Raster_Enable || 1 means enabled, 0 means disabled. |
| + | |- |
| + | | 0x4B3 || DepthStencil_Config0 || If set to 1, it enables DepthStencil_Config1 and DepthStencil_Config2. |
| + | |- |
| + | | 0x4BA || DepthStencil_Config1 || 0/1 is written here. |
| + | |- |
| + | | 0x4C3 || DepthStencil_Config2 || 0-15 is written here. |
| + | |- |
| + | | 0x4B9 || || 1 written here for "simple" BlendState. |
| + | |- |
| + | | 0x4BB || || BindColorState writes 0 or 1 here. |
| + | |- |
| + | | 0x4C5 || || BindColorState sometimes writes here a value between 0-15. |
| + | |- |
| + | | 0x4E0 || || 0 is sometimes written here during BindDepthStencil. |
| |- | | |- |
| | 0x4E5 || StencilMask0_Ref || 1 means enabled, 0 means disabled. | | | 0x4E5 || StencilMask0_Ref || 1 means enabled, 0 means disabled. |
Line 123: |
Line 149: |
| |- | | |- |
| | 0x66F || DepthBounds_Enable || 1 means enabled, 0 means disabled. | | | 0x66F || DepthBounds_Enable || 1 means enabled, 0 means disabled. |
| + | |- |
| + | | 0x671 || || Sometimes used by BindColorState. |
| |- | | |- |
| | 0x68B || Barrier? || Always 0 is written here. During zcull ctx-save, spammed when enabling raster, ... | | | 0x68B || Barrier? || Always 0 is written here. During zcull ctx-save, spammed when enabling raster, ... |
Line 133: |
Line 161: |
| |- | | |- |
| | 0x6C3 || Poke_Control || Big bitfield. After write, the result of query is written to 4 bytes at Poke_Addr. | | | 0x6C3 || Poke_Control || Big bitfield. After write, the result of query is written to 4 bytes at Poke_Addr. |
| + | |- |
| + | | 0x781+8*N || BlendState_N || TODO, N = {0, ..., 7} |
| + | |- |
| + | | 0x782+8*N || BlendState_N || TODO |
| + | |- |
| + | | 0x783+8*N || BlendState_N || TODO |
| + | |- |
| + | | 0x784+8*N || BlendState_N || TODO |
| + | |- |
| + | | 0x785+8*N || BlendState_N || TODO |
| + | |- |
| + | | 0x786+8*N || BlendState_N || TODO |
| |- | | |- |
| | 0xD34 || || Used by SetConservativeRasterDilate. | | | 0xD34 || || Used by SetConservativeRasterDilate. |
| + | |- |
| + | | 0xD35 || BlendState || TODO: Bitfield |
| + | |- |
| + | | 0xE00 || TransformFeedback_AddrHi || |
| + | |- |
| + | | 0xE01 || TransformFeedback_AddrLo || |
| |- | | |- |
| | 0xE0A || || Used by SetConservativeRasterDilate. | | | 0xE0A || || Used by SetConservativeRasterDilate. |
| |- | | |- |
| | 0xE0B || || Used by SetConservativeRasterDilate. | | | 0xE0B || || Used by SetConservativeRasterDilate. |
| + | |- |
| + | | 0xE10 || || Sometimes used by BindColorState. |
| + | |- |
| + | | 0xE12 || BindChannelMaskState_Unk0 || |
| + | |- |
| + | | 0xE13 || BindChannelMaskState_Unk1 || |
| + | |- |
| + | | 0xE1A || DepthStencil_Config3 || |
| |- | | |- |
| | 0xE20 || || Another barrier? Used by SetConservativeRasterDilate. | | | 0xE20 || || Another barrier? Used by SetConservativeRasterDilate. |