summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2019-02-04 02:27:26 +0100
committerGitHub <noreply@github.com>2019-02-04 02:27:26 +0100
commita568cd805b528f3e8c5a2ae89073af106c489b01 (patch)
treeb959026f4b17547b12a5972299a5b80249ec8679 /src/video_core
parentFix TXQ not using the component mask. (diff)
downloadyuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar.gz
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar.bz2
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar.lz
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar.xz
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.tar.zst
yuzu-a568cd805b528f3e8c5a2ae89073af106c489b01.zip
Diffstat (limited to 'src/video_core')
-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 3ec37b122..5e778c6bc 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -983,7 +983,7 @@ union Instruction {
}
bool IsComponentEnabled(std::size_t component) const {
- return ((1ul << component) & component_mask) != 0;
+ return ((1ULL << component) & component_mask) != 0;
}
} txq;