Revert "[D3D12] Re-add accidentally deleted RT update trigger and treat Z test and write bits separately"

This reverts commit 25cc189e99.
This commit is contained in:
Triang3l
2019-04-12 20:04:50 +03:00
parent 25cc189e99
commit 8f51855c8f
3 changed files with 25 additions and 25 deletions

View File

@@ -584,10 +584,10 @@ bool PipelineCache::GetCurrentStateDescription(
uint32_t rb_depthcontrol = regs[XE_GPU_REG_RB_DEPTHCONTROL].u32;
if (rb_depthcontrol & 0x2) {
description_out.depth_func = (rb_depthcontrol >> 4) & 0x7;
description_out.depth_write = (rb_depthcontrol & 0x4) != 0;
} else {
description_out.depth_func = 0b111;
}
description_out.depth_write = (rb_depthcontrol & 0x4) != 0;
if (rb_depthcontrol & 0x1) {
description_out.stencil_enable = 1;
uint32_t rb_stencilrefmask = regs[XE_GPU_REG_RB_STENCILREFMASK].u32;