On Thu May 4 14:50:48 2023 +0000, Nikolay Sivov wrote:
Thanks, I added some type checks per buffer type. I'm going to look at tests now, the one that I pushed just now works on Windows, but on Linux vulkan I get this: `vkd3d:fixme:spirv_compiler_get_descriptor_binding Could not find descriptor binding for type 0x1, space 0, registers [2:2], shader type 0.` So maybe resource type is somehow is not handled correctly yet, presumably in shader runner? I'm going to look at that to see if I can understand anything there.
The shader runner only declares image UAVs; it'll need separate handling for buffer UAVs. Probably best is to add a new resource type RESOURCE_TYPE_BUFFER_UAV.
It shouldn't be too difficult, but I can also look into this if you'd prefer.