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

10 lines
135 B
Plaintext

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