dawn-cmake/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.msl

11 lines
186 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
kernel void f() {
int const a = 1;
int const b = 2;
int const r = as_type<int>((as_type<uint>(a) - as_type<uint>(b)));
return;
}