mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 04:20:18 +01:00
vulkan/runtime: fixup assert with link_geom_stages
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9308e8d90d ("vulkan: Add generic graphics and compute VkPipeline implementations")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34874>
This commit is contained in:
parent
a29d0cfaf0
commit
565ac1ee6a
1 changed files with 1 additions and 1 deletions
|
|
@ -1189,7 +1189,7 @@ vk_graphics_pipeline_compile_shaders(struct vk_device *device,
|
|||
/* Don't try to re-compile any fast-link shaders */
|
||||
if (!(pipeline->base.flags &
|
||||
VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT)) {
|
||||
assert(partition[p + 1] == partition[p] + 1);
|
||||
assert(ops->link_geom_stages || partition[p + 1] == partition[p] + 1);
|
||||
if (stages[partition[p]].shader != NULL)
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue