HLSL: fix crash on empty sequence node passed to intrinsic expansions
This commit is contained in:
12
Test/hlsl.clip.frag
Normal file
12
Test/hlsl.clip.frag
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
float GetEntitySelectClip()
|
||||
{
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
clip(GetEntitySelectClip());
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user