[2024-02-25T11:27:15Z WARN wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
terminator_CreateInstance: Failed to CreateInstance in ICD 3. Skipping ICD.
[2024-02-25T11:27:15Z WARN wgpu_hal::vulkan::instance] objects: (type: INSTANCE, hndl: 0x6387d4b84370, name: ?)
[2024-02-25T11:27:15Z ERROR wgpu_core::device::resource] Feature 'trace' is not enabled
[2024-02-25T11:27:15Z ERROR wgpu_hal::vulkan::instance] VALIDATION [UNASSIGNED-CoreValidation-Shader-InconsistentSpirv (0x6bbb14)]
Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x6387d52676f0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: Uniform id '9' is missing Block or BufferBlock decoration.
From Vulkan spec, section 14.5.2:
Such variables must be identified with a Block or BufferBlock decoration
%SpritePieceInfo = OpTypeStruct %uint %uint %v2float %v2float %v2float %v2float %v2float %v2float
[2024-02-25T11:27:15Z ERROR wgpu_hal::vulkan::instance] objects: (type: DEVICE, hndl: 0x6387d52676f0, name: ?)
[2024-02-25T11:27:15Z ERROR wgpu_hal::vulkan::instance] VALIDATION [VUID-VkGraphicsPipelineCreateInfo-layout-00756 (0x45717876)]
Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0x6387d52676f0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x45717876 | Type mismatch on descriptor slot 1.3 (expected ``) but descriptor of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER The Vulkan spec states: layout must be consistent with all shaders specified in pStages (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-00756)
[2024-02-25T11:27:15Z ERROR wgpu_hal::vulkan::instance] objects: (type: DEVICE, hndl: 0x6387d52676f0, name: ?)
[2024-02-25T11:27:15Z WARN wgpu_hal::vulkan::instance] PERFORMANCE [../src/intel/vulkan/anv_pipeline.c:1883 (0x0)]
Found a partial pipeline in the cache. This is most likely caused by an incomplete pipeline cache import or export
[2024-02-25T11:27:15Z WARN wgpu_hal::vulkan::instance] objects: (type: DEVICE, hndl: 0x6387d52676f0, name: ?)
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
Expected vs observed behavior
Clearly describe what you get, and how it goes across your expectations.
Extra materials
Screenshots to help explain your problem.
Validation logs can be attached in case there are warnings and errors.
Zip-compressed API traces and GPU captures can also land here.
Platform
Information about your OS, version of wgpu, your tech stack, etc.
Description A shader is causing a vulkan validation error saying "SPIR-V module not valid: Uniform id '9' is missing Block or BufferBlock decoration."
Repro steps This is the shader:
Validation messages:
Expected vs observed behavior Clearly describe what you get, and how it goes across your expectations.
Extra materials Screenshots to help explain your problem. Validation logs can be attached in case there are warnings and errors. Zip-compressed API traces and GPU captures can also land here.
Platform Information about your OS, version of
wgpu
, your tech stack, etc.