diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-18 18:35:21 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-22 21:28:48 -0300 |
| commit | c8a48aacc0a2bfe87de74e0aa7842f5d1aec1558 (patch) | |
| tree | 472a1edcad13f148cf2dc7c25de0cd7b6206e83f /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | 0f23359a44d9258efa0c0cd50243cd0efaf80235 (diff) | |
video_core: Unify ProgramType and ShaderStage into ShaderType
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 267ed7803..6a2ce1586 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -83,8 +83,7 @@ private: bool using_depth_fb, bool using_stencil_fb); /// Configures the current constbuffers to use for the draw command. - void SetupDrawConstBuffers(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, - const Shader& shader); + void SetupDrawConstBuffers(std::size_t stage_index, const Shader& shader); /// Configures the current constbuffers to use for the kernel invocation. void SetupComputeConstBuffers(const Shader& kernel); @@ -94,8 +93,7 @@ private: const GLShader::ConstBufferEntry& entry); /// Configures the current global memory entries to use for the draw command. - void SetupDrawGlobalMemory(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, - const Shader& shader); + void SetupDrawGlobalMemory(std::size_t stage_index, const Shader& shader); /// Configures the current global memory entries to use for the kernel invocation. void SetupComputeGlobalMemory(const Shader& kernel); @@ -108,7 +106,7 @@ private: void DrawPrelude(); /// Configures the current textures to use for the draw command. - void SetupDrawTextures(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, const Shader& shader, + void SetupDrawTextures(std::size_t stage_index, const Shader& shader, BaseBindings base_bindings); /// Configures the textures used in a compute shader. @@ -119,8 +117,7 @@ private: const GLShader::SamplerEntry& entry); /// Configures images in a graphics shader. - void SetupDrawImages(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, const Shader& shader, - BaseBindings base_bindings); + void SetupDrawImages(std::size_t stage_index, const Shader& shader, BaseBindings base_bindings); /// Configures images in a compute shader. void SetupComputeImages(const Shader& shader); |
