OpAtomicIDecrement should return the original value. Anvil seems to return the decremented value. There was also a similar bug in glslang: https://github.com/KhronosGroup/glslang/issues/1067
Could you please provide some sort of test case?
OpAtomicIDecrement actually returns the correct value. I had an error in my test case. Sorry for the noise.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.