diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-15 23:19:08 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:31 +0200 |
commit | 258f2dec1bc6f1f9d966579c1efb96f76d947060 (patch) | |
tree | b6324481a086fab910fc53a60fd3afb6495853db /src/video_core/renderer_opengl/gl_graphics_program.h | |
parent | shader: Use a non-trivial dummy to construct ASL node union (diff) | |
download | yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar.gz yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar.bz2 yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar.lz yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar.xz yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.tar.zst yuzu-258f2dec1bc6f1f9d966579c1efb96f76d947060.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_graphics_program.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_graphics_program.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_graphics_program.h b/src/video_core/renderer_opengl/gl_graphics_program.h index 5adf3f41e..58aa4b0bc 100644 --- a/src/video_core/renderer_opengl/gl_graphics_program.h +++ b/src/video_core/renderer_opengl/gl_graphics_program.h @@ -73,7 +73,9 @@ public: Tegra::MemoryManager& gpu_memory_, Tegra::Engines::Maxwell3D& maxwell3d_, ProgramManager& program_manager_, StateTracker& state_tracker_, - OGLProgram program_, const std::array<const Shader::Info*, 5>& infos); + OGLProgram program_, + std::array<OGLAssemblyProgram, 5> assembly_programs_, + const std::array<const Shader::Info*, 5>& infos); void Configure(bool is_indexed); @@ -86,6 +88,8 @@ private: StateTracker& state_tracker; OGLProgram program; + std::array<OGLAssemblyProgram, 5> assembly_programs; + std::array<Shader::Info, 5> stage_infos{}; std::array<u32, 5> base_uniform_bindings{}; std::array<u32, 5> base_storage_bindings{}; |