Request for support for GL_NV_shader_atomic_int64 on Iris and nouveau
Hi,
upon closer examination of the shader code of the program ("Software Rasterization of 2 Billion Points in Real-Time") mentioned on #6545, I see all needed in addition to KHR subgroup extensions, is GL_NV_shader_atomic_int64.
In fact it only use atomicMin on uint64 buffer:
uint64_t newPoint;
layout (std430, binding = 1) buffer abc_0 { uint64_t ssFramebuffer[]; };
atomicMin(ssFramebuffer[pixelID], newPoint);
radeonsi supports it the extension:
https://lists.freedesktop.org/archives/mesa-commit/2020-September/108623.html
https://lists.freedesktop.org/archives/mesa-commit/2020-September/108624.html
can we get support for it on iris driver also (gen9+)? as Intel supports VK_KHR_shader_atomic_int64 on Anvil driver on gen9 also.. @idr @kwg @jekstrand
also @zmike can we get support for it on zink? VK_KHR_shader_atomic_int64 it's supported everywhere on desktop and the Mesa GLSL support is done already:
https://lists.freedesktop.org/archives/mesa-commit/2020-September/108622.html
https://lists.freedesktop.org/archives/mesa-commit/2020-September/108624.html
should be a matter of routing to VK_KHR_shader_atomic_int64?
thanks..