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

17 lines
305 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
int get_i32() {
return 1;
}
void f() {
int const tint_symbol = get_i32();
int2 v2 = int2(tint_symbol);
int const tint_symbol_1 = get_i32();
int3 v3 = int3(tint_symbol_1);
int const tint_symbol_2 = get_i32();
int4 v4 = int4(tint_symbol_2);
}