GPU Classes: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
|- | |- | ||
| 0x1D1 || TransformFeedbackEnable || 1 || bool || | | 0x1D1 || TransformFeedbackEnable || 1 || bool || | ||
|- | |||
| 0x1D3 || || 1 || || GpuInit writes 0x3f here. | |||
|- | |- | ||
| 0x1FA || ZCullContextStartAddr || 2 || gpuva || | | 0x1FA || ZCullContextStartAddr || 2 || gpuva || | ||
Line 61: | Line 63: | ||
|- | |- | ||
| 0x303+4*N || ViewportNDepthRangeFar || 1 || float || | | 0x303+4*N || ViewportNDepthRangeFar || 1 || float || | ||
|- | |||
| 0x340+2*N || ClipRectNHorizontal || 1 || || TODO | |||
|- | |||
| 0x341+2*N || ClipRectNVertical || 1 || || TODO | |||
|- | |- | ||
| 0x360 || ClearColor || 4 || float || | | 0x360 || ClearColor || 4 || float || | ||
Line 79: | Line 85: | ||
|- | |- | ||
| 0x374 || || 1 || || 0 written here for "simple" BlendState. | | 0x374 || || 1 || || 0 written here for "simple" BlendState. | ||
|- | |||
| 0x380 || ScissorEnable || 1 || bool || GpuInit writes 1 here. | |||
|- | |- | ||
| 0x381+4*N || ScissorNHorizontal || 1 || bitfield || Bit0-15: min, bit16-31: max | | 0x381+4*N || ScissorNHorizontal || 1 || bitfield || Bit0-15: min, bit16-31: max | ||
|- | |- | ||
| 0x382+4*N || ScissorNVertical || 1 || bitfield || Bit0-15: min, bit16-31: max | | 0x382+4*N || ScissorNVertical || 1 || bitfield || Bit0-15: min, bit16-31: max | ||
|- | |||
| 0x384+4*N || ScissorNEnable? || 1 || bool? || | |||
|- | |- | ||
| 0x3D5 || StencilBackRefValue || 1 || || | | 0x3D5 || StencilBackRefValue || 1 || || | ||
Line 117: | Line 127: | ||
|- | |- | ||
| 0x40C || CoverageModulationTable || 4 || float[4] || | | 0x40C || CoverageModulationTable || 4 || float[4] || | ||
|- | |||
| 0x433 || || 1 || || GpuInit writes 4 here. | |||
|- | |||
| 0x438 || || 1 || || GpuInit writes 0xFF here. | |||
|- | |||
| 0x439 || || 1 || || GpuInit writes 0xFF here. | |||
|- | |||
| 0x43B || || 1 || || GpuInit writes 0xFF here. | |||
|- | |||
| 0x43C || || 1 || || GpuInit writes 4 here. | |||
|- | |||
| 0x43E || ClearFlags? || 1 || || GpuInit writes 0x101 here. | |||
|- | |- | ||
| 0x446 || DrawElementsEnableBaseVertex? || 1 || bool || TODO | | 0x446 || DrawElementsEnableBaseVertex? || 1 || bool || TODO | ||
Line 182: | Line 204: | ||
| 0x54D || MultisampleEnable || 1 || || | | 0x54D || MultisampleEnable || 1 || || | ||
|- | |- | ||
| 0x54F || | | 0x54F || MultisampleControl || 1 || bool || bit0: AlphaToCoverageEnable, bit1+: ? | ||
|- | |- | ||
| 0x55B || PolygonOffsetFactor || 1 || float || | | 0x55B || PolygonOffsetFactor || 1 || float || | ||
|- | |||
| 0x56d || CsaaEnable || 1 || bool || | |||
|- | |- | ||
| 0x56F || PolygonOffsetOffset || 1 || float || Float multiplied by 2 is written here. | | 0x56F || PolygonOffsetOffset || 1 || float || Float multiplied by 2 is written here. | ||
|- | |||
| 0x574 || MultisampleMode || 1 || || | |||
|- | |- | ||
| 0x591 || PrimitiveRestartEnable || 1 || bool || | | 0x591 || PrimitiveRestartEnable || 1 || bool || | ||
Line 269: | Line 295: | ||
|- | |- | ||
| 0x924 || UniformBuffer1_Control || 1 || || | | 0x924 || UniformBuffer1_Control || 1 || || | ||
|- | |||
| 0xD19 || || 1 || || GpuInit writes 0 here. | |||
|- | |||
| 0xD1A || || 1 || || GpuInit writes 0 here. | |||
|- | |||
| 0xD1B || || 1 || || GpuInit writes 0xffffffff here. | |||
|- | |- | ||
| 0xD1E || || 1 || || BindProgram writes 0 here, trigger? | | 0xD1E || || 1 || || BindProgram writes 0 here, trigger? |