diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-10 17:51:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 17:51:29 +0200 |
commit | ee1b20474963f639015497bea7fbb0d9e6ff9f7f (patch) | |
tree | 1446a0f404450336162aecb27d8b7965afba4f58 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #1469 from lioncash/ptr (diff) | |
parent | gl_shader_decompiler: Move position varying location from 15 to 0 and apply an offset (diff) | |
download | yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar.gz yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar.bz2 yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar.lz yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar.xz yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.tar.zst yuzu-ee1b20474963f639015497bea7fbb0d9e6ff9f7f.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 0dab2018b..8de831468 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -120,7 +120,7 @@ private: * @returns The next available bindpoint for use in the next shader stage. */ u32 SetupConstBuffers(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, Shader& shader, - u32 current_bindpoint); + GLenum primitive_mode, u32 current_bindpoint); /* * Configures the current textures to use for the draw command. @@ -130,7 +130,7 @@ private: * @returns The next available bindpoint for use in the next shader stage. */ u32 SetupTextures(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, Shader& shader, - u32 current_unit); + GLenum primitive_mode, u32 current_unit); /// Syncs the viewport to match the guest state void SyncViewport(); @@ -207,7 +207,7 @@ private: DrawParameters SetupDraw(); - void SetupShaders(); + void SetupShaders(GLenum primitive_mode); enum class AccelDraw { Disabled, Arrays, Indexed }; AccelDraw accelerate_draw = AccelDraw::Disabled; |