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

10 lines
136 B
Plaintext

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