csyonghe / Spire

Other
174 stars 22 forks source link

stack overflow when code has cyclic typedefs #73

Open csyonghe opened 7 years ago

csyonghe commented 7 years ago

// shaders.spire

pipeline StandardPipeline { world w2; stage s2 : FragmentShader { World: w2;
} }

typedef A B; typedef B A;

shader Test { out @w2 A a = 5; }