parent
a67d0706da
commit
788fbeb36f
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
struct S {
|
||||
[[vk::builtin("PointSize")]] float ps;
|
||||
[[vk::builtin("PointSize")]] float ps : PSIZE;
|
||||
};
|
||||
|
||||
[maxvertexcount(4)]
|
||||
|
|
|
|||
|
|
@ -5856,7 +5856,8 @@ void HlslParseContext::handleSemantic(TSourceLoc loc, TQualifier& qualifier, TBu
|
|||
break;
|
||||
}
|
||||
|
||||
qualifier.builtIn = builtIn;
|
||||
if (qualifier.builtIn == EbvNone)
|
||||
qualifier.builtIn = builtIn;
|
||||
qualifier.semanticName = intermediate.addSemanticName(upperCase);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue