Skip to content

PushConstant not being OpTypeStruct is invalid on Vulkan hosts #362

Closed
@hrydgard

Description

@hrydgard

Quoth Baldur (hope he doesn't mind I post it here):

BTW I also noticed some invalid SPIR-V in your shader which may also affect this, you have a PushConstant storage class variable defined that is not an OpTypeStruct. All uniforms and push constant variables must be struct pointers with explicitly laid out structs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: push constantIssues related to push constants.a: vulkanIssues specifically about Vulkan.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