Skip to content

vtn: add support for atomic flag test/set/clear

Dave Airlie requested to merge airlied/mesa:vtn-atomic-flag into main

This adds support for SpvOpAtomicFlag operations.

This is just a simple implementation that lowers Clear to Store 0 and TestAndSet to Cas (0, -1)

There are likely platforms/hw that will want to lower this all the way through NIR and into their backend, but this will do for now.

Merge request reports