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
5
Test/hlsl.multiView.frag
Normal file
5
Test/hlsl.multiView.frag
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
float4 main(uint ViewIndex : SV_ViewID)
|
||||
{
|
||||
return float4(ViewIndex, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue