зеркало из https://github.com/stride3d/xkslang.git
Merge pull request #1186 from zeux/master
HLSL: Implement support for RT/Viewport output from VS
This commit is contained in:
Коммит
69feabc913
|
@ -9115,7 +9115,7 @@ bool HlslParseContext::isOutputBuiltIn(const TQualifier& qualifier) const
|
|||
return language == EShLangFragment;
|
||||
case EbvLayer:
|
||||
case EbvViewportIndex:
|
||||
return language == EShLangGeometry;
|
||||
return language == EShLangGeometry || language == EShLangVertex;
|
||||
case EbvPrimitiveId:
|
||||
return language == EShLangGeometry;
|
||||
case EbvTessLevelInner:
|
||||
|
|
Загрузка…
Ссылка в новой задаче