mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 16:00:01 +00:00
shader: Shader size is long uint, not uint.
This commit is contained in:
parent
c6709d97bc
commit
656a442433
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ void JitShader::Compile() {
|
||||||
uintptr_t size = reinterpret_cast<uintptr_t>(GetCodePtr()) - reinterpret_cast<uintptr_t>(program);
|
uintptr_t size = reinterpret_cast<uintptr_t>(GetCodePtr()) - reinterpret_cast<uintptr_t>(program);
|
||||||
ASSERT_MSG(size <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!");
|
ASSERT_MSG(size <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!");
|
||||||
|
|
||||||
LOG_DEBUG(HW_GPU, "Compiled shader size=%d", size);
|
LOG_DEBUG(HW_GPU, "Compiled shader size=%lu", size);
|
||||||
}
|
}
|
||||||
|
|
||||||
JitShader::JitShader() {
|
JitShader::JitShader() {
|
||||||
|
|
Loading…
Reference in a new issue