Description
Seems to be separate from #9100
On metal, acceleration structure barriers are not inserted (due to metal not having barriers during development of this) however it appears that metal does not serialize them as I would expect an API with little synchronisation to have.
Repro steps
This test application https://github.com/Vecvec/macos-ray-tracing-test usually reproduces it within 7 runs for me. As I was trying to debug #9100 , it tests a couple of cases which aren't completely required.
Expected vs observed behavior
The ty is sometimes zero, but it should be consistantly one
Extra materials
Screenshots to help explain your problem.
Validation logs can be attached in case there are warnings and errors.
Zip-compressed API traces and GPU captures can also land here.
Platform
Ios 26, wgpu trunk 9ed77372b413cffa52104e424338d9e655e6208e
Description
Seems to be separate from #9100
On metal, acceleration structure barriers are not inserted (due to metal not having barriers during development of this) however it appears that metal does not serialize them as I would expect an API with little synchronisation to have.
Repro steps
This test application https://github.com/Vecvec/macos-ray-tracing-test usually reproduces it within 7 runs for me. As I was trying to debug #9100 , it tests a couple of cases which aren't completely required.
Expected vs observed behavior
The ty is sometimes zero, but it should be consistantly one
Extra materials
Screenshots to help explain your problem.
Validation logs can be attached in case there are warnings and errors.
Zip-compressed API traces and GPU captures can also land here.
Platform
Ios 26, wgpu trunk
9ed77372b413cffa52104e424338d9e655e6208e