summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-19 02:04:09 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:32 +0200
commit8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6 (patch)
treeede1d0e1d3c828b50f4af190f64adf73a30a62e7 /src/video_core
parentglasm: Implement textureGather instructions (diff)
downloadyuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.gz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.bz2
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.lz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.xz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.zst
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index c10ea2f60..b84b36b9d 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -302,7 +302,7 @@ std::unique_ptr<GraphicsProgram> ShaderCache::CreateGraphicsProgram(
const size_t stage_index{index - 1};
infos[stage_index] = &program.info;
if (device.UseAssemblyShaders()) {
- const std::string code{EmitGLASM(profile, program)};
+ const std::string code{EmitGLASM(profile, program, binding)};
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index));
} else {
const std::vector<u32> code{EmitSPIRV(profile, program, binding)};