diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-21 23:04:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 23:04:29 +0200 |
commit | a769d8c913018efc55d05ddcac3d1e11f31556dc (patch) | |
tree | cd4447d4ff40dadfab513d44cfd8bf5e1e14b2a9 /src | |
parent | Merge pull request #1143 from lioncash/inc (diff) | |
parent | shader_bytecode: Parenthesize conditional expression within GetTextureType() (diff) | |
download | yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.gz yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.bz2 yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.lz yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.xz yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.zst yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 875b90359..67194b0e3 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -518,7 +518,7 @@ union Instruction { return TextureType::Texture1D; } if (texture_info == 2 || texture_info == 8 || texture_info == 12 || - texture_info >= 4 && texture_info <= 6) { + (texture_info >= 4 && texture_info <= 6)) { return TextureType::Texture2D; } if (texture_info == 7) { |