dawn-cmake/test/tint/expressions/splat/call/i32.wgsl.expected.fxc.hlsl

18 lines
337 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
int get_i32() {
return 1;
}
void f() {
const int tint_symbol = get_i32();
int2 v2 = int2((tint_symbol).xx);
const int tint_symbol_1 = get_i32();
int3 v3 = int3((tint_symbol_1).xxx);
const int tint_symbol_2 = get_i32();
int4 v4 = int4((tint_symbol_2).xxxx);
}