diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-03 23:07:35 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-12 03:12:07 +0200 |
commit | a63a0daa5e773574019ec521c0a07096efbdcd36 (patch) | |
tree | bbf61edb6185f0d5cd7c2bc79d91e39fa47cb45b /src/video_core/renderer_opengl/gl_shader_cache.cpp | |
parent | yuzu/configuration: Show assembly shaders check box (diff) | |
download | yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar.gz yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar.bz2 yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar.lz yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar.xz yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.tar.zst yuzu-a63a0daa5e773574019ec521c0a07096efbdcd36.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 4 |
1 files changed, 3 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 a991ca64a..f539a05e1 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -20,6 +20,7 @@ #include "video_core/engines/maxwell_3d.h" #include "video_core/engines/shader_type.h" #include "video_core/memory_manager.h" +#include "video_core/renderer_opengl/gl_arb_decompiler.h" #include "video_core/renderer_opengl/gl_rasterizer.h" #include "video_core/renderer_opengl/gl_shader_cache.h" #include "video_core/renderer_opengl/gl_shader_decompiler.h" @@ -147,7 +148,8 @@ ProgramSharedPtr BuildShader(const Device& device, ShaderType shader_type, u64 u auto program = std::make_shared<ProgramHandle>(); if (device.UseAssemblyShaders()) { - const std::string arb = "Not implemented"; + const std::string arb = + DecompileAssemblyShader(device, ir, registry, shader_type, shader_id); GLuint& arb_prog = program->assembly_program.handle; |