mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 04:11:25 +00:00
Added to hlsl, msl, glsl, and spirv backends. Bug: tint:1300 Change-Id: I06062bd8e4b32acbc4a8670b060a7a22bc1ae034 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80600 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
20 lines
367 B
GLSL
20 lines
367 B
GLSL
#version 310 es
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
int get_i32() {
|
|
return 1;
|
|
}
|
|
|
|
void f() {
|
|
int tint_symbol = get_i32();
|
|
ivec2 v2 = ivec2(tint_symbol);
|
|
int tint_symbol_1 = get_i32();
|
|
ivec3 v3 = ivec3(tint_symbol_1);
|
|
int tint_symbol_2 = get_i32();
|
|
ivec4 v4 = ivec4(tint_symbol_2);
|
|
}
|
|
|