HLSL: fix crash on empty sequence node passed to intrinsic expansions

This commit is contained in:
steve-lunarg
2017-03-31 12:47:34 -06:00
parent 9ce76553b8
commit db2e3b4169
4 changed files with 141 additions and 1 deletions

12
Test/hlsl.clip.frag Normal file
View File

@@ -0,0 +1,12 @@
float GetEntitySelectClip()
{
return 1.0f;
}
float4 main() : SV_TARGET
{
clip(GetEntitySelectClip());
return 0;
}