зеркало из https://github.com/stride3d/xkslang.git
Link-check fix: Don't include built-in variables in the fragment output ES rule:
"No layout(location=) is required if there is only one output" should not count built-in variables like gl_SampleMask. This is fixed.
This commit is contained in:
Родитель
78258d3d40
Коммит
ba01ebd5ba
|
@ -2,5 +2,5 @@
|
|||
// For the version, it uses the latest git tag followed by the number of commits.
|
||||
// For the date, it uses the current date (when then script is run).
|
||||
|
||||
#define GLSLANG_REVISION "3.0.729"
|
||||
#define GLSLANG_DATE "19-Aug-2015"
|
||||
#define GLSLANG_REVISION "3.0.730"
|
||||
#define GLSLANG_DATE "21-Aug-2015"
|
||||
|
|
|
@ -548,7 +548,7 @@ void TIntermediate::inOutLocationCheck(TInfoSink& infoSink)
|
|||
const TType& type = linkObjects[i]->getAsTyped()->getType();
|
||||
const TQualifier& qualifier = type.getQualifier();
|
||||
if (language == EShLangFragment) {
|
||||
if (qualifier.storage == EvqVaryingOut) {
|
||||
if (qualifier.storage == EvqVaryingOut && qualifier.builtIn == EbvNone) {
|
||||
++numFragOut;
|
||||
if (!qualifier.hasAnyLocation())
|
||||
fragOutWithNoLocation = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче