HLSL: fix crash on empty sequence node passed to intrinsic expansions
This commit is contained in:
parent
9ce76553b8
commit
db2e3b4169
4 changed files with 141 additions and 1 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue