diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-12-22 17:36:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-22 17:36:05 +0100 |
commit | 648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512 (patch) | |
tree | 6e489900becbae18884335745d9e3409761c319e /src/shader_recompiler/varying_state.h | |
parent | 36df305b13afc3d91bb7f9694dedab9a84a94130 (diff) | |
parent | 4908a07c20f98f4b7dd604d1fc6865b47bc5c182 (diff) |
Merge pull request #7375 from vonchenplus/convert_legacy
Convert all legacy attributes to generic attributes
Diffstat (limited to 'src/shader_recompiler/varying_state.h')
-rw-r--r-- | src/shader_recompiler/varying_state.h | 3 |
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 { |