if else if else if if else if else
This commit is contained in:
13
test/codegen/simple_if_else.golden
Normal file
13
test/codegen/simple_if_else.golden
Normal file
@@ -0,0 +1,13 @@
|
||||
float4 vs_main(float3 pos : POSITION) : SV_POSITION
|
||||
{
|
||||
if (0 > 100)
|
||||
{
|
||||
return float4(pos, 1.0f);
|
||||
}
|
||||
else
|
||||
{
|
||||
return float4(1.0f);
|
||||
}
|
||||
return float4(0.0f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user