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

5
Test/hlsl.multiView.frag Normal file
View file

@ -0,0 +1,5 @@
float4 main(uint ViewIndex : SV_ViewID)
{
return float4(ViewIndex, 0.0f, 0.0f, 0.0f);
}