dawn-cmake/test/tint/expressions/bitcast/scalar/u32-i32.wgsl.expected.msl

10 lines
133 B
Plaintext

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