summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-12-11 22:50:09 +0100
committerGitHub <noreply@github.com>2019-12-11 22:50:09 +0100
commit900b2e5cae3d019e49a679ffbb75e3d840494c9b (patch)
treefef55193e723ba3278739ae6219c7ac6238bf0d8 /src
parentMerge pull request #3210 from ReinUsesLisp/memory-barrier (diff)
parentGl_Rasterizer: Skip Tesselation Control and Eval stages as they are un implemented. (diff)
downloadyuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.gz
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.bz2
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.lz
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.xz
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.zst
yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 88d78d2ad..f20967d85 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -277,6 +277,14 @@ void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) {
continue;
}
+ // Currently this stages are not supported in the OpenGL backend.
+ // Todo(Blinkhawk): Port tesselation shaders from Vulkan to OpenGL
+ if (program == Maxwell::ShaderProgram::TesselationControl) {
+ continue;
+ } else if (program == Maxwell::ShaderProgram::TesselationEval) {
+ continue;
+ }
+
Shader shader{shader_cache.GetStageProgram(program)};
// Stage indices are 0 - 5