summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/varying_state.h
diff options
context:
space:
mode:
authorGravatar Feng Chen2021-11-19 15:32:53 +0800
committerGravatar vonchenplus2021-11-19 22:53:58 +0800
commit4dd85f86a89338ff84d05a3981c14f6de1be4606 (patch)
treeb2a48b24bf216a325e62f5e363bc98b41de84444 /src/shader_recompiler/varying_state.h
parentMerge pull request #7349 from ameerj/ogl-convert-image (diff)
downloadyuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.gz
yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.xz
yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.zip
Implement convert legacy to generic
Diffstat (limited to 'src/shader_recompiler/varying_state.h')
-rw-r--r--src/shader_recompiler/varying_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/varying_state.h b/src/shader_recompiler/varying_state.h
index 9d7b24a76..bc4f273c8 100644
--- a/src/shader_recompiler/varying_state.h
+++ b/src/shader_recompiler/varying_state.h
@@ -53,7 +53,8 @@ struct VaryingState {
53 return AnyComponent(IR::Attribute::ColorFrontDiffuseR) || 53 return AnyComponent(IR::Attribute::ColorFrontDiffuseR) ||
54 AnyComponent(IR::Attribute::ColorFrontSpecularR) || 54 AnyComponent(IR::Attribute::ColorFrontSpecularR) ||
55 AnyComponent(IR::Attribute::ColorBackDiffuseR) || 55 AnyComponent(IR::Attribute::ColorBackDiffuseR) ||
56 AnyComponent(IR::Attribute::ColorBackSpecularR) || FixedFunctionTexture(); 56 AnyComponent(IR::Attribute::ColorBackSpecularR) || FixedFunctionTexture() ||
57 mask[static_cast<size_t>(IR::Attribute::FogCoordinate)];
57 } 58 }
58 59
59 [[nodiscard]] bool FixedFunctionTexture() const noexcept { 60 [[nodiscard]] bool FixedFunctionTexture() const noexcept {