Browse Source
Merge pull request #3218 from FernandoS27/tess-gl
Gl_Rasterizer: Skip Tesselation Control and Eval stages as they are unimplemented
pull/15/merge
Fernando Sahmkow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
src/video_core/renderer_opengl/gl_rasterizer.cpp
|
|
@ -277,6 +277,14 @@ void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) { |
|
|
continue; |
|
|
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)}; |
|
|
Shader shader{shader_cache.GetStageProgram(program)}; |
|
|
|
|
|
|
|
|
// Stage indices are 0 - 5
|
|
|
// Stage indices are 0 - 5
|
|
|
|