Vulkan
Vulkan copied to clipboard
Computenbody: Application assumes fairly small values of pointSizeRange[1]
Our hardware supports point sizes of up to ~8192, which causes visual artifacts to show up when the application is launched.
The example bakes a set of particles, each set starting with a heavy particle which acts as an attractor. Large weight translates to a hefty size of the point. This causes the application to render a screen which is mostly filled with white color when you launch the application on any of our ASICs.
Clamping gl_PointSize to, say, 64 in the vertex shader makes the problem go away.