I’m trying to write a compute shader that really needs to be able to use atomicAdd() on a floating point storage buffer. Unfortunately, GLSL 4.6 only supports atomicAdd for int and uint data types. However, VK_EXT_shader_atomic_float was added to the specification in 2020, so I’d expect to see it in the GLSL language. How can I take advantage of this? Is there a way I can use an atomicAdd() on a float in a GLSL shader?
VK_EXT_shader_atomic_float spec:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_shader_atomic_float.html