Просмотр исходного кода

gl_shader_cache: Do not flip tessellation on OpenGL

ReinUsesLisp 5 лет назад
Родитель
Сommit
4017928213
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/video_core/renderer_opengl/gl_shader_cache.cpp

+ 1 - 2
src/video_core/renderer_opengl/gl_shader_cache.cpp

@@ -159,8 +159,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsProgramKey& key,
     Shader::RuntimeInfo info;
     switch (program.stage) {
     case Shader::Stage::TessellationEval:
-        // We have to flip tessellation clockwise for some reason...
-        info.tess_clockwise = key.tessellation_clockwise == 0;
+        info.tess_clockwise = key.tessellation_clockwise != 0;
         info.tess_primitive = [&key] {
             switch (key.tessellation_primitive) {
             case Maxwell::TessellationPrimitive::Isolines: