yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
12e7d7065
master
1// multiview.slang 2 3// Confirm that the SPV_KHR_multiview and EXT_multiview extensions are compiled 4// correctly 5 6//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage vertex 7 8void main(uint viewId : SV_ViewID, out float4 p : SV_Position) 9{ 10 p = float4(viewId, 0, 0, 0); 11}