SPIRV-Cross/reference/shaders-msl/asm/frag/phi-loop-variable.asm.frag
Hans-Kristian Arntzen 7d223b8987 Fix CFG for forwarded temporaries.
Forwarded temporaries would never declare a temporary.
Figure out all result types ahead of time so we can deal with those
temporaries as well.
2018-01-18 12:11:33 +01:00

13 lines
151 B
JavaScript

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
fragment void main0()
{
for (int _22 = 35; _22 >= 0; _22--)
{
}
}