Skip to content

Vulkano does not detect incorrect work group sizes #2698

Description

@HadrienG2

My little validation layer has just told me that if I set an invalid workgroup size (e.g. 1025) using a specialization constant, that invalid setting will propagate all the way through the compute pipeline build process without any vulkano function erroring out in any place, final pipeline build command included.

Given that vulkano's high level API aims to detect and report invalid Vulkan API usage, and specialization constants are the officially sanctioned way to set a compute shader's workgroup size from CPU code, this behavior does not look right.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions