dawn-cmake/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.dxc....

11 lines
178 B
HLSL

float4 func(inout float4 pointer) {
return pointer;
}
[numthreads(1, 1, 1)]
void main() {
float4 F = float4(0.0f, 0.0f, 0.0f, 0.0f);
const float4 r = func(F);
return;
}