Geexlab-demopack-gl-4x/d07-gl43-arb-compute-shaders-particles-simulation/main.xmlĪs usual, just drag and drop this demo into GeeXLab to play with.Ĭontrols: left CTRL + mouse or left SHIFT + mouse. The demo is available in the OpenGL 4 demopack: According to my tests, GL_ARB_compute_variable_group_size is supported on GeForce GPUs but is not exposed on Radeon GPUs (even with the latest Adrenalin 20.1.2 + Radeon RX 5500 XT or a RX Vega 56). And if supported, the demo will try to use the GL_ARB_compute_variable_group_size extension. The demo requires the support of GL_ARB_compute_shader which should not be a problem today (at least on Windows and Linux). In the full version of the demo available here, you can interact with particles using the mouse / keyboard.
The GPU Caps Viewer version of the demo has no user interaction. A demo about simulating particles with compute shaders is still something cool, that’s why I coded this demo. GPU Caps Viewer comes with 3D demos that allow to test some specific parts of OpenGL and Vulkan APIs. Here is an OpenGL 4.3 demo I coded for GPU Caps Viewer 1.44.0.