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
This commit is contained in:
John Kessenich 2013-06-28 05:32:15 +00:00
parent 554c854143
commit 69c3d8c1a0

View File

@ -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;
}
;