diff options
| author | Triang3l <triang3l@yandex.ru> | 2020-12-10 12:41:29 +0300 |
|---|---|---|
| committer | Triang3l <triang3l@yandex.ru> | 2020-12-10 12:41:29 +0300 |
| commit | 34c5fc9c2f548d55f834823c13ecf022ded2651d (patch) | |
| tree | b5da456c07efa81d7544043af1e5a98661b3e787 | |
| parent | 8bcfcf64525a956e29ffcd00febc134e49e2678f (diff) | |
[DXBC] ROV: Update a todo comment about early Z
| -rw-r--r-- | src/xenia/gpu/dxbc_shader_translator.h | 6 |
1 files 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, |
