SPV: Implement Vulkan 1.1 features and extensions.
This commit is contained in:
11
Test/hlsl.wavequery.frag
Normal file
11
Test/hlsl.wavequery.frag
Normal file
@@ -0,0 +1,11 @@
|
||||
float4 PixelShaderFunction() : COLOR0
|
||||
{
|
||||
if (WaveIsFirstLane())
|
||||
{
|
||||
return float4(1, 2, 3, 4);
|
||||
}
|
||||
else
|
||||
{
|
||||
return float4(4, 3, 2, 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user