#16 Doesn't work when shaders already define a push constant #18
Labels
No labels
claude:done
claude:in-progress
claude:ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Catcrafts/Crafter.Graphics#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Vulkan validation (error): vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
Entry point id '4' uses more than one PushConstant interface.
From Vulkan spec:
There must be no more than one push constant block statically used per shader entry point.
%392 = OpVariable %_ptr_PushConstant__struct_389 PushConstant
Command to reproduce:
spirv-val <input.spv> --relax-block-layout --scalar-block-layout --target-env vulkan1.4
The Vulkan spec states: Each OpEntryPoint must statically use at most one variable in the PushConstant Storage Class unless the PushConstantBanksNV capability is declared (https://docs.vulkan.org/spec/latest/appendices/spirvenv.html#VUID-StandaloneSpirv-OpEntryPoint-06674)
Vulkan validation (error): vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
Entry point id '4' uses more than one PushConstant interface.
From Vulkan spec:
There must be no more than one push constant block statically used per shader entry point.
%282 = OpVariable %_ptr_PushConstant__struct_279 PushConstant
Command to reproduce:
spirv-val <input.spv> --relax-block-layout --scalar-block-layout --target-env vulkan1.4
The Vulkan spec states: Each OpEntryPoint must statically use at most one variable in the PushConstant Storage Class unless the PushConstantBanksNV capability is declared (https://docs.vulkan.org/spec/latest/appendices/spirvenv.html#VUID-StandaloneSpirv-OpEntryPoint-06674)
#15 Doesn't work when shaders already define a push constantto #16 Doesn't work when shaders already define a push constant