OpenGL driver crash on 5070 Ti when using depth-stencil texture view

Hello,

I’ve run into a potential OpenGL driver issue on Blackwell GPUs. Using a texture view of a 2D depth-stencil texture array as a framebuffer attachment leads to a crash. The event viewer shows the following error:

Unable to recover from a kernel exception. The application must close.

Error code: 3 (subcode 7) (pid=17292 tid=228 nvidia-texture-view-bug.exe 64bit)

Visit http://www.nvidia.com/page/support.html for more information.

System specs:

  • GPU: NVIDIA GeForce RTX 5070 Ti
  • Driver: 595.71
  • OS: Windows 11

I’ve set up a repository with a minimal example.

Cheers

This has been fixed in the Vulkan Beta drivers. The fix is supposed to ship sometime in July for the regular desktop drivers.