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:
parent
554c854143
commit
69c3d8c1a0
@ -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;
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user