mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-10 00:42:45 +01:00
gl_shader_cache: Do not flip tessellation on OpenGL
This commit is contained in:
parent
80884e3270
commit
4017928213
1 changed files with 1 additions and 2 deletions
|
@ -159,8 +159,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsProgramKey& key,
|
||||||
Shader::RuntimeInfo info;
|
Shader::RuntimeInfo info;
|
||||||
switch (program.stage) {
|
switch (program.stage) {
|
||||||
case Shader::Stage::TessellationEval:
|
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] {
|
info.tess_primitive = [&key] {
|
||||||
switch (key.tessellation_primitive) {
|
switch (key.tessellation_primitive) {
|
||||||
case Maxwell::TessellationPrimitive::Isolines:
|
case Maxwell::TessellationPrimitive::Isolines:
|
||||||
|
|
Loading…
Reference in a new issue