mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
lavapipe: skip post-copy pNext checking during pipeline creation for composites
these values should have all been set during pipeline compositing above, so reapplying the values is at best, redundant, and at worst, broken cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17219>
This commit is contained in:
parent
f8a92d28ad
commit
b74d3e71be
1 changed files with 2 additions and 3 deletions
|
|
@ -1443,9 +1443,8 @@ lvp_graphics_pipeline_init(struct lvp_pipeline *pipeline,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (pipeline->stages & VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT) {
|
||||||
|
/* composite pipelines should have these values set above */
|
||||||
if (pipeline->stages & VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT) {
|
|
||||||
if (pipeline->graphics_create_info.pViewportState) {
|
if (pipeline->graphics_create_info.pViewportState) {
|
||||||
/* if pViewportState is null, it means rasterization is discarded,
|
/* if pViewportState is null, it means rasterization is discarded,
|
||||||
* so this is ignored
|
* so this is ignored
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue