Non-functional HLSL: Factor out built-ins from splitting and related simplifications.
This commit is contained in:
@@ -616,7 +616,7 @@ bool HlslGrammar::acceptFullySpecifiedType(TType& type, TIntermNode*& nodeList)
|
||||
qualifier.readonly = type.getQualifier().readonly;
|
||||
}
|
||||
|
||||
if (type.getQualifier().builtIn != EbvNone)
|
||||
if (type.isBuiltIn())
|
||||
qualifier.builtIn = type.getQualifier().builtIn;
|
||||
|
||||
type.getQualifier() = qualifier;
|
||||
|
||||
Reference in New Issue
Block a user