diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-23 21:40:58 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-25 15:01:29 +0200 |
commit | acd64411342e70bd7e9f7156f62c3b1a609ac3c4 (patch) | |
tree | c05f05bb52fdee4fb0c693c98dec5915b69b302d /src/video_core/shader/shader_ir.cpp | |
parent | VideoCore: Unify const buffer accessing along engines and provide ConstBufferLocker class to shaders. (diff) | |
download | yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar.gz yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar.bz2 yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar.lz yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar.xz yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.tar.zst yuzu-acd64411342e70bd7e9f7156f62c3b1a609ac3c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp index c1f2b88c8..6430575ec 100644 --- a/src/video_core/shader/shader_ir.cpp +++ b/src/video_core/shader/shader_ir.cpp @@ -23,9 +23,9 @@ using Tegra::Shader::PredOperation; using Tegra::Shader::Register; ShaderIR::ShaderIR(const ProgramCode& program_code, u32 main_offset, const std::size_t size, - CompilerSettings settings) + CompilerSettings settings, ConstBufferLocker& locker) : program_code{program_code}, main_offset{main_offset}, program_size{size}, basic_blocks{}, - program_manager{true, true}, settings{settings} { + program_manager{true, true}, settings{settings}, locker{locker} { Decode(); } |