Skip to content
Snippets Groups Projects
Commit 69c3d8c1 authored by John Kessenich's avatar John Kessenich
Browse files

Use the default of "smooth" for interpolation qualification for vertex outs...

Use the default of "smooth" for interpolation qualification for vertex outs and fragment ins (rather than all fragment IO).


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22222 e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent 554c8541
No related branches found
No related tags found
No related merge requests found
...@@ -1502,7 +1502,9 @@ fully_specified_type ...@@ -1502,7 +1502,9 @@ fully_specified_type
$$ = $2; $$ = $2;
if (! $$.qualifier.isInterpolation() && parseContext.language == EShLangFragment) if (! $$.qualifier.isInterpolation() &&
(parseContext.language == EShLangVertex && $$.qualifier.storage == EvqVaryingOut ||
parseContext.language == EShLangFragment && $$.qualifier.storage == EvqVaryingIn))
$$.qualifier.smooth = true; $$.qualifier.smooth = true;
} }
; ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment