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

10 lines
140 B
Plaintext

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