summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/varying_state.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {
return AnyComponent(IR::Attribute::ColorFrontDiffuseR) ||
AnyComponent(IR::Attribute::ColorFrontSpecularR) ||
AnyComponent(IR::Attribute::ColorBackDiffuseR) ||
- AnyComponent(IR::Attribute::ColorBackSpecularR) || FixedFunctionTexture();
+ AnyComponent(IR::Attribute::ColorBackSpecularR) || FixedFunctionTexture() ||
+ mask[static_cast<size_t>(IR::Attribute::FogCoordinate)];
}
[[nodiscard]] bool FixedFunctionTexture() const noexcept {