Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

wgpu-example-runner throws vulkan validation error #163

@nipunG314

Description

@nipunG314

Expected Behaviour

wgpu-example-runner should show no errors or warnings during or post execution.

Example & Steps To Reproduce

Running wgpu-example-runner on my system shows the following warning as a part of the Vulkan Validation layer:

[1.265265 ERROR]()(no module): 
VALIDATION [UNASSIGNED-CoreValidation-Shader-InconsistentSpirv (7060244)] : Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x556ecb32ae90, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: Invalid SPIR-V binary version 1.3 for target environment SPIR-V 1.0 (under Vulkan 1.0 semantics).
object info: (type: DEVICE, hndl: 93934343859856)

The binary runs properly and exits properly without crashing.

System Info

  • Rust: 1.49.0-nightly (ffa2e7ae8 2020-10-24)
  • OS: Ubuntu 18.04.4 LTS
  • GPU: NVIDIA GeForce 940MX
  • SPIR-V: v2020.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: examplesIssues specific to the examples in the repository.c: rustc_codegen_spirvIssues specific to the rustc_codegen_spirv crate.t: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions