summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sam Spilsbury2016-04-24 23:41:44 +0800
committerGravatar Sam Spilsbury2016-04-25 00:40:03 +0800
commit656a4424332824c144ef5b91482ee2a8d89fc0fb (patch)
tree575264137844f57c51905e747c4ebc47e1f8307a /src
parentshader: Handle non-CALL opcodes with a break (diff)
downloadyuzu-656a4424332824c144ef5b91482ee2a8d89fc0fb.tar.gz
yuzu-656a4424332824c144ef5b91482ee2a8d89fc0fb.tar.xz
yuzu-656a4424332824c144ef5b91482ee2a8d89fc0fb.zip
shader: Shader size is long uint, not uint.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index 9ee4065bf..b7747fa42 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -856,7 +856,7 @@ void JitShader::Compile() {
856 uintptr_t size = reinterpret_cast<uintptr_t>(GetCodePtr()) - reinterpret_cast<uintptr_t>(program); 856 uintptr_t size = reinterpret_cast<uintptr_t>(GetCodePtr()) - reinterpret_cast<uintptr_t>(program);
857 ASSERT_MSG(size <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!"); 857 ASSERT_MSG(size <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!");
858 858
859 LOG_DEBUG(HW_GPU, "Compiled shader size=%d", size); 859 LOG_DEBUG(HW_GPU, "Compiled shader size=%lu", size);
860} 860}
861 861
862JitShader::JitShader() { 862JitShader::JitShader() {