dawn-cmake/test/expressions/splat/call/bool.wgsl.expected.wgsl

10 lines
197 B
WebGPU Shading Language

fn get_bool() -> bool {
return true;
}
fn f() {
var v2 : vec2<bool> = vec2<bool>(get_bool());
var v3 : vec3<bool> = vec3<bool>(get_bool());
var v4 : vec4<bool> = vec4<bool>(get_bool());
}