Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with push constants in tests/window #29

Open
nadult opened this issue Oct 6, 2024 · 0 comments
Open

Problem with push constants in tests/window #29

nadult opened this issue Oct 6, 2024 · 0 comments
Assignees

Comments

@nadult
Copy link
Owner

nadult commented Oct 6, 2024

Vulkan debug: Validation Error: [ VUID-vkCmdPushConstants-offset-01795 ] Object 0: handle = 0x1882428e070, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x27bc88c6 | vkCmdPushConstants(): VK_SHADER_STAGE_COMPUTE_BIT, VkPushConstantRange in VkPipelineLayout 0xea7170000000031[] overlapping offset = 0 and size = 4, do not contain VK_SHADER_STAGE_COMPUTE_BIT. The Vulkan spec states: For each byte in the range specified by offset and size and for each shader stage in stageFlags, there must be a push constant range in layout that includes that byte and that stage (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdPushConstants-offset-01795)

@nadult nadult self-assigned this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant