dawn-cmake/test/expressions/splat/call/i32.wgsl.expected.glsl

23 lines
327 B
Plaintext
Raw Normal View History

#version 310 es
precision mediump float;
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
void main() {
unused_entry_point();
}
int get_i32() {
return 1;
}
void f() {
ivec2 v2 = ivec2(get_i32());
ivec3 v3 = ivec3(get_i32());
ivec4 v4 = ivec4(get_i32());
}