Commit 69c3d8c1 by John Kessenich

Use the default of "smooth" for interpolation qualification for vertex outs and…

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
......@@ -1502,7 +1502,9 @@ fully_specified_type
$$ = $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;
}
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment