KhronosGroup / Vulkan-ValidationLayers

Vulkan Validation Layers (VVL)
https://vulkan.lunarg.com/doc/sdk/latest/linux/khronos_validation_layer.html
Other
771 stars 406 forks source link

Using same VkSampler for multiple layouts crashes validation layers. #8888

Open Duttenheim opened 9 hours ago

Duttenheim commented 9 hours ago

Environment:

Describe the Issue

Using the same VkSampler in multiple VkDescriptorSetLayoutBinding structs when creating a VkDescriptorSetLayout crashes the validation layer at some point. Letting each layout have its own sampler fixes the issue but produces other issues down the line.

Expected behavior

The issue didn't appear until I upgraded to 1.3.296 from 1.3.261. It also makes renderdoc crash the GPU (driver resets).

Valid Usage ID None

Additional context Can be reproduced by syncing main on https://github.com/gscept/nebula and running nebula-demo with validation layers enabled.

Callstack:

image

spencer-lunarg commented 3 hours ago

thanks for raising the issue and curious what is blowing up the hash util here

I am having a hard time building your repo case. I am I suppose to grab both https://github.com/gscept/nebula and then clone https://github.com/gscept/nebula-demo somewhere else? I tried to do fips fetch but it cloned everything in my parent directory