Closed jmatsushita closed 4 months ago
Oh I see. There's a conflict with the compute-toy prelude's assert
function defined here: https://github.com/compute-toys/wgpu-compute-toy/blob/master/src/lib.rs#L415-L419
Renaming that function to assert_toy
fixes the error. I'll submit a PR.
Hi there,
On MacOS 14.3.1 (23D60), on an M1 Mac I can't run the default shader
default.wgsl
or any other I tried. The main error seems to beShader translation error for stage ShaderStages(COMPUTE): Metal: program_source:79:5: error: too many arguments provided to function-like macro invocation
. Here is the full error message forcargo run examples/default.wgsl
There seems to be already the same issue posted upstream https://github.com/gfx-rs/wgpu/issues/5347 which points out:
Cheers,
Jun