diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-25 22:12:33 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-18 06:59:57 +0200 |
commit | a8a2526128970dbe47bc25c28b8d2bfb52ac4a26 (patch) | |
tree | e092baf3d1e1ea99baf805e2d9e1285810ded2d7 /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | Merge pull request #4273 from ogniK5377/async-shaders-prod (diff) | |
download | yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar.gz yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar.bz2 yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar.lz yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar.xz yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.tar.zst yuzu-a8a2526128970dbe47bc25c28b8d2bfb52ac4a26.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_manager.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index 0f03b4f12..950e0dfcb 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -45,17 +45,9 @@ public: /// Rewinds BindHostPipeline state changes. void RestoreGuestPipeline(); - void UseVertexShader(GLuint program) { - current_state.vertex = program; - } - - void UseGeometryShader(GLuint program) { - current_state.geometry = program; - } - - void UseFragmentShader(GLuint program) { - current_state.fragment = program; - } + void UseVertexShader(GLuint program); + void UseGeometryShader(GLuint program); + void UseFragmentShader(GLuint program); private: struct PipelineState { @@ -64,9 +56,6 @@ private: GLuint fragment = 0; }; - /// Update NV_gpu_program5 programs. - void UpdateAssemblyPrograms(); - /// Update GLSL programs. void UpdateSourcePrograms(); |