fn vector_scalar_f32() { var v : vec3; var s : f32; var r : vec3; r = v + s; r = v - s; r = v * s; r = v / s; //r = v % s; } fn vector_scalar_i32() { var v : vec3; var s : i32; var r : vec3; r = v + s; r = v - s; r = v * s; r = v / s; r = v % s; } fn vector_scalar_u32() { var v : vec3; var s : u32; var r : vec3; r = v + s; r = v - s; r = v * s; r = v / s; r = v % s; } fn scalar_vector_f32() { var v : vec3; var s : f32; var r : vec3; r = s + v; r = s - v; r = s * v; r = s / v; //r = s % v; } fn scalar_vector_i32() { var v : vec3; var s : i32; var r : vec3; r = s + v; r = s - v; r = s * v; r = s / v; r = s % v; } fn scalar_vector_u32() { var v : vec3; var s : u32; var r : vec3; r = s + v; r = s - v; r = s * v; r = s / v; r = s % v; } [[stage(fragment)]] fn main() -> [[location(0)]] vec4 { return vec4(0.0,0.0,0.0,0.0); }