Crash deep in nvoglv64.dll when calling vkCreateComputePipelines

Hi,
I’ve been struggling with a driver crash this week. I’m runnning on Windows 11 with a RTX 3080 card (driver version 576.80). I’m using Vulkan 1.3.296.0. The crash occurs when calling vkCreateComputePipelines with a shader which samples (using Load) from a usampler3D inside a loop. The shader compiles fine but crashes in vkCreateComputePipelines. If I remove the looping it doesn’t crash. The loop terminates using the result of the sampling within the loop, so it cannot be unrolled. There are no validation layer errors/warnings.

Any suggestions or advice would be much appreciated.

Are you properly synchronising with a feedback loop barrier?

Hi Sora, thanks for the reply. I’m not sure what there is to synchronise. The Vulkan functions vkCreateShaderModule and vkCreateComputePipelines are serial and do not take a command buffer, so there’s nothing to wait on. Can you explain what you mean please? Thanks.