From 34c5fc9c2f548d55f834823c13ecf022ded2651d Mon Sep 17 00:00:00 2001 From: Triang3l Date: Thu, 10 Dec 2020 12:41:29 +0300 Subject: [PATCH] [DXBC] ROV: Update a todo comment about early Z --- src/xenia/gpu/dxbc_shader_translator.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/dxbc_shader_translator.h b/src/xenia/gpu/dxbc_shader_translator.h index 87820587b..1e9891771 100644 --- a/src/xenia/gpu/dxbc_shader_translator.h +++ b/src/xenia/gpu/dxbc_shader_translator.h @@ -193,8 +193,10 @@ class DxbcShaderTranslator : public ShaderTranslator { // be discarded some way) - use when alpha test and alpha to coverage are // disabled. Ignored by the shader if not applicable to it (like if it has // kill instructions or writes the depth output). - // TODO(Triang3l): Replace with an alpha-to-mask flag, check if - // (flags & (alpha test | alpha to mask)) == (always | disabled). + // TODO(Triang3l): Investigate replacement with an alpha-to-mask flag, + // checking `(flags & (alpha test | alpha to mask)) == (always | disabled)`, + // taking into account the potential relation with occlusion queries (but + // should be safe at least temporarily). kSysFlag_ROVDepthStencilEarlyWrite_Shift, kSysFlag_Count,