I have noticed that the attached shader drops to approximately half of the original frame rate when the driver is updated from version 470.xx to version 495.xx, 510.xx or 515.xx on Windows or Linux. In addition, the procedural noise function used to generate the clouds and mountains breaks down with the newer drivers, as can be seen from the blocky sky and the white flecks on the terrain.
Steps to reproduce:
Windows (observed when updating 472.12 to 516.94 on a 960M GPU):
cd vulkan-shadertoy-launcher-master\build_scripts\build_mingw_win
VK_shadertoy_mingw.exe
Ubuntu 22.04 (observed when updating nvidia-driver-470 to nvidia-driver-515 on an M5000 GPU):
cd vulkan-shadertoy-launcher-master/build_scripts/build_linux_x11
./VK_shadertoy
The procedural noise issue can be worked around by un-commenting the line
//#define ALTERNATE_NOISE_MODEL
in this file
vulkan-shadertoy-launcher-master/launcher/shaders/shadertoy/main_image.glsl
but I suspect that it breaks many implementations of Perlin noise. This appears to be identical to the issue reported here:
The performance issue seems to be particularly concerning as there does not appear to be a workaround short of reverting to the old driver.
The example is derived from the following sources with a couple of minor tweaks to highlight the issues:
Shader - Shadertoy BETA
GitHub - danilw/vulkan-shadertoy-launcher: using C, no external dependencies
vulkan-shadertoy-launcher-master.zip (967.8 KB)