diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 02:29:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:50 +0100 |
commit | a4f052f6b3ea689539d3ccc11bde273986728d2e (patch) | |
tree | 14d068354dcb3dc696c863b0199b8549ae1b7d88 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | glsl_decompiler: Implementation (diff) | |
download | yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar.gz yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar.bz2 yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar.lz yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar.xz yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.tar.zst yuzu-a4f052f6b3ea689539d3ccc11bde273986728d2e.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 73567eb8c..97412590b 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -925,7 +925,7 @@ u32 RasterizerOpenGL::SetupConstBuffers(Maxwell::ShaderStage stage, Shader& shad const auto& gpu = Core::System::GetInstance().GPU(); const auto& maxwell3d = gpu.Maxwell3D(); const auto& shader_stage = maxwell3d.state.shader_stages[static_cast<std::size_t>(stage)]; - const auto& entries = shader->GetShaderEntries().const_buffer_entries; + const auto& entries = shader->GetShaderEntries().const_buffers; constexpr u64 max_binds = Tegra::Engines::Maxwell3D::Regs::MaxConstBuffers; std::array<GLuint, max_binds> bind_buffers; @@ -993,7 +993,7 @@ u32 RasterizerOpenGL::SetupTextures(Maxwell::ShaderStage stage, Shader& shader, MICROPROFILE_SCOPE(OpenGL_Texture); const auto& gpu = Core::System::GetInstance().GPU(); const auto& maxwell3d = gpu.Maxwell3D(); - const auto& entries = shader->GetShaderEntries().texture_samplers; + const auto& entries = shader->GetShaderEntries().samplers; ASSERT_MSG(current_unit + entries.size() <= std::size(state.texture_units), "Exceeded the number of active textures."); |