Non-functional HLSL: Factor out built-ins from splitting and related simplifications.
This commit is contained in:
parent
eaed06823a
commit
ecd08bc36c
4 changed files with 40 additions and 49 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue