diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-28 22:06:22 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-01 02:33:49 +0200 |
commit | ee21e4ecd372d6a191244dffbc5ac5c7b80150c1 (patch) | |
tree | fe7f77170edfdabfe3bf9dc974f3d8b3672eb45e /src/video_core/renderer_opengl/gl_shader_decompiler.h | |
parent | Merge pull request #3930 from ReinUsesLisp/animal-borders (diff) | |
download | yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar.gz yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar.bz2 yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar.lz yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar.xz yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.tar.zst yuzu-ee21e4ecd372d6a191244dffbc5ac5c7b80150c1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h index e8a178764..451c9689a 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.h +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h @@ -53,11 +53,13 @@ struct ShaderEntries { std::vector<GlobalMemoryEntry> global_memory_entries; std::vector<SamplerEntry> samplers; std::vector<ImageEntry> images; - u32 clip_distances{}; std::size_t shader_length{}; + u32 clip_distances{}; + bool use_unified_uniforms{}; }; -ShaderEntries MakeEntries(const VideoCommon::Shader::ShaderIR& ir); +ShaderEntries MakeEntries(const Device& device, const VideoCommon::Shader::ShaderIR& ir, + Tegra::Engines::ShaderType stage); std::string DecompileShader(const Device& device, const VideoCommon::Shader::ShaderIR& ir, const VideoCommon::Shader::Registry& registry, |