зеркало из https://github.com/stride3d/xkslang.git
Build: Tickle bots to try again... seems like a process hang; all tests passed.
This commit is contained in:
Родитель
132cf53737
Коммит
798d005ccd
|
@ -611,6 +611,8 @@ bool HlslGrammar::acceptFullySpecifiedType(TType& type, TIntermNode*& nodeList,
|
||||||
parseContext.transferTypeAttributes(attributes, type);
|
parseContext.transferTypeAttributes(attributes, type);
|
||||||
|
|
||||||
// further, it can create an anonymous instance of the block
|
// further, it can create an anonymous instance of the block
|
||||||
|
// (cbuffer and tbuffer don't consume the next identifier, and
|
||||||
|
// should set forbidDeclarators)
|
||||||
if (forbidDeclarators || peek() != EHTokIdentifier)
|
if (forbidDeclarators || peek() != EHTokIdentifier)
|
||||||
parseContext.declareBlock(loc, type);
|
parseContext.declareBlock(loc, type);
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче