fix: Support SV_ViewID keywords for hlsl.
This commit is contained in:
parent
7c5fb5c1a8
commit
153064f2c7
5 changed files with 130 additions and 0 deletions
|
|
@ -9551,6 +9551,8 @@ bool HlslParseContext::isInputBuiltIn(const TQualifier& qualifier) const
|
|||
return language == EShLangTessEvaluation;
|
||||
case EbvTessCoord:
|
||||
return language == EShLangTessEvaluation;
|
||||
case EbvViewIndex:
|
||||
return language != EShLangCompute;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue