summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-21 17:04:29 -0400
committerGravatar GitHub2018-08-21 17:04:29 -0400
commita769d8c913018efc55d05ddcac3d1e11f31556dc (patch)
treecd4447d4ff40dadfab513d44cfd8bf5e1e14b2a9 /src
parentMerge pull request #1143 from lioncash/inc (diff)
parentshader_bytecode: Parenthesize conditional expression within GetTextureType() (diff)
downloadyuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.gz
yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.tar.xz
yuzu-a769d8c913018efc55d05ddcac3d1e11f31556dc.zip
Merge pull request #1149 from lioncash/paren
shader_bytecode: Parenthesize conditional expression within GetTextureType()
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/shader_bytecode.h2
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 {
518 return TextureType::Texture1D; 518 return TextureType::Texture1D;
519 } 519 }
520 if (texture_info == 2 || texture_info == 8 || texture_info == 12 || 520 if (texture_info == 2 || texture_info == 8 || texture_info == 12 ||
521 texture_info >= 4 && texture_info <= 6) { 521 (texture_info >= 4 && texture_info <= 6)) {
522 return TextureType::Texture2D; 522 return TextureType::Texture2D;
523 } 523 }
524 if (texture_info == 7) { 524 if (texture_info == 7) {