summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-21 21:08:33 +0200
committerLioncash <mathew1800@gmail.com>2018-08-21 21:08:35 +0200
commita0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75 (patch)
treecd4447d4ff40dadfab513d44cfd8bf5e1e14b2a9 /src
parentMerge pull request #1143 from lioncash/inc (diff)
downloadyuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar.gz
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar.bz2
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar.lz
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar.xz
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.tar.zst
yuzu-a0e2bd85a5724dd9a4bcf69f9bd3a1ec7a39fe75.zip
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 {
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) {