diff options
| author | 2019-12-11 15:41:26 -0400 | |
|---|---|---|
| committer | 2019-12-11 15:41:26 -0400 | |
| commit | 1d2ba3cc9759fdc816aff47900f0fbbf69665a69 (patch) | |
| tree | fef55193e723ba3278739ae6219c7ac6238bf0d8 /src | |
| parent | Merge pull request #3210 from ReinUsesLisp/memory-barrier (diff) | |
| download | yuzu-1d2ba3cc9759fdc816aff47900f0fbbf69665a69.tar.gz yuzu-1d2ba3cc9759fdc816aff47900f0fbbf69665a69.tar.xz yuzu-1d2ba3cc9759fdc816aff47900f0fbbf69665a69.zip | |
Gl_Rasterizer: Skip Tesselation Control and Eval stages as they are un implemented.
This commit ensures the OGL backend does not execute tesselation shader
stages as they are currently 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 |