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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions