GPU Classes: Difference between revisions
Line 116: | Line 116: | ||
| 0x4B9 || || 1 || || 1 written here for "simple" BlendState. | | 0x4B9 || || 1 || || 1 written here for "simple" BlendState. | ||
|- | |- | ||
| 0x4BB || || 1 || || | | 0x4BB || AlphaTestEnable || 1 || bool || | ||
|- | |- | ||
| 0x4C5 || || 1 || || | | 0x4C5 || AlphaTestType || 1 || bitfield || Bit0-3: AlphaTestType | ||
|- | |- | ||
| 0x4E0 || || 1 || || 0 is sometimes written here during BindDepthStencil. | | 0x4E0 || || 1 || || 0 is sometimes written here during BindDepthStencil. | ||
Line 182: | Line 182: | ||
| 0x66F || DepthBounds_Enable || 1 || bool || | | 0x66F || DepthBounds_Enable || 1 || bool || | ||
|- | |- | ||
| 0x671 || || 1 || || | | 0x671 || ColorStateLogicOpEnable || 1 || bool || Used for all LogicOps except 3. | ||
|- | |||
| 0x672 || ColorStateLogicOpType || 1 || || Bit0-7: LogicOp, bit8-15: unknown, always 0x15. | |||
|- | |- | ||
| 0x68B || Barrier? || 1 || trigger || Always 0 is written here. During zcull ctx-save, spammed when enabling raster, ... | | 0x68B || Barrier? || 1 || trigger || Always 0 is written here. During zcull ctx-save, spammed when enabling raster, ... | ||
Line 256: | Line 258: | ||
| 0xE0E || || 1 || || BindImage/BindSeparateSampler/BindSeparateTexture writes 0-4 here. | | 0xE0E || || 1 || || BindImage/BindSeparateSampler/BindSeparateTexture writes 0-4 here. | ||
|- | |- | ||
| 0xE10 || || 1 || | | 0xE10 || ColorStateLogicOp3 || 1 || bitfield || Bit8: BlendEnable, bit16-23: LogicOp, bit28-31: AlphaTest. BindColorState this when LogicOp == 3. | ||
|- | |- | ||
| 0xE12 || BindChannelMaskState_Unk0 || 1 || || | | 0xE12 || BindChannelMaskState_Unk0 || 1 || || |