diff options
| author | 2019-12-11 17:50:09 -0400 | |
|---|---|---|
| committer | 2019-12-11 17:50:09 -0400 | |
| commit | 900b2e5cae3d019e49a679ffbb75e3d840494c9b (patch) | |
| tree | fef55193e723ba3278739ae6219c7ac6238bf0d8 /src | |
| parent | Merge pull request #3210 from ReinUsesLisp/memory-barrier (diff) | |
| parent | Gl_Rasterizer: Skip Tesselation Control and Eval stages as they are un implem... (diff) | |
| download | yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.gz yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.tar.xz yuzu-900b2e5cae3d019e49a679ffbb75e3d840494c9b.zip | |
Merge pull request #3218 from FernandoS27/tess-gl
Gl_Rasterizer: Skip Tesselation Control and Eval stages as they are unimplemented
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 8 |
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) { | |||
| 277 | continue; | 277 | continue; |
| 278 | } | 278 | } |
| 279 | 279 | ||
| 280 | // Currently this stages are not supported in the OpenGL backend. | ||
| 281 | // Todo(Blinkhawk): Port tesselation shaders from Vulkan to OpenGL | ||
| 282 | if (program == Maxwell::ShaderProgram::TesselationControl) { | ||
| 283 | continue; | ||
| 284 | } else if (program == Maxwell::ShaderProgram::TesselationEval) { | ||
| 285 | continue; | ||
| 286 | } | ||
| 287 | |||
| 280 | Shader shader{shader_cache.GetStageProgram(program)}; | 288 | Shader shader{shader_cache.GetStageProgram(program)}; |
| 281 | 289 | ||
| 282 | // Stage indices are 0 - 5 | 290 | // Stage indices are 0 - 5 |