fix: Support SV_ViewID keywords for hlsl.

This commit is contained in:
FrostyLeaves 2023-11-22 22:21:13 +08:00 committed by arcady-lunarg
parent 7c5fb5c1a8
commit 153064f2c7
5 changed files with 130 additions and 0 deletions

View file

@ -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;
}