diff options
author | Feng Chen <vonchenplus@gmail.com> | 2021-11-19 15:32:53 +0800 |
---|---|---|
committer | vonchenplus <vonchenplus@gmail.com> | 2021-11-19 22:53:58 +0800 |
commit | 4dd85f86a89338ff84d05a3981c14f6de1be4606 (patch) | |
tree | b2a48b24bf216a325e62f5e363bc98b41de84444 /src/shader_recompiler/varying_state.h | |
parent | 0bc46fedd617f6a42c53716680ed99d8f42bf99a (diff) |
Implement convert legacy to generic
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 9d7b24a763..bc4f273c8d 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 { |