You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, when specifying the pipeline stage, the VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI value is used.
But VUID-VkComputePipelineCreateInfo-stage-00701 says: "The stage member of stage must be VK_SHADER_STAGE_COMPUTE_BIT".
Such a contradiction leads to incorrect operation of the VVL.
I suggest changing the VUID-VkComputePipelineCreateInfo-stage-00701 to "The stage member of stage must be either VK_SHADER_STAGE_COMPUTE_BIT or VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI"
The text was updated successfully, but these errors were encountered:
Karpov-Ruslan
changed the title
Contradictory VK_HUAWEI_subpass_shading with VUID-VkComputePipelineCreateInfo-stage-00701
Contradictory VK_HUAWEI_subpass_shading with VUIDs
Oct 8, 2024
A subpass shading pipeline is a pipeline with the compute pipeline ability, allowed to read values from input attachments, and only allowed to be dispatched inside a stand-alone subpass.
VK_HUAWEI_subpass_shading gives the example of pipeline creation (I copied only the problematic part):
As you can see, when specifying the pipeline stage, the
VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI
value is used.But
VUID-VkComputePipelineCreateInfo-stage-00701
says: "The stage member of stage must beVK_SHADER_STAGE_COMPUTE_BIT
".Such a contradiction leads to incorrect operation of the VVL.
I suggest changing the
VUID-VkComputePipelineCreateInfo-stage-00701
to "The stage member of stage must be eitherVK_SHADER_STAGE_COMPUTE_BIT
orVK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI
"The text was updated successfully, but these errors were encountered: