diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.cc b/src/xenia/gpu/d3d12/d3d12_command_processor.cc index c6eb60e3f..8fd974bbd 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.cc +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.cc @@ -1652,7 +1652,7 @@ void D3D12CommandProcessor::UpdateSystemConstantValues( << DxbcShaderTranslator::kSysFlag_DepthPassIfLess_Shift; if (depth_comparison != 0x7) { flags |= DxbcShaderTranslator::kSysFlag_DepthStencilRead; - if (DepthRenderTargetFormat(rb_depth_info) == + if (DepthRenderTargetFormat((rb_depth_info >> 16) & 0x1) == DepthRenderTargetFormat::kD24FS8) { flags |= DxbcShaderTranslator::kSysFlag_DepthFloat24; }