lavapipe: don't access pipeline blend state when it should be ignored
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10625>
This commit is contained in:

committed by
Marge Bot

parent
636a3903be
commit
4dc17b898b
@@ -341,7 +341,7 @@ deep_copy_graphics_create_info(void *mem_ctx,
|
||||
dst->pDepthStencilState = NULL;
|
||||
|
||||
/* pColorBlendState */
|
||||
if (src->pColorBlendState) {
|
||||
if (src->pColorBlendState && !rasterization_disabled && pass->has_color_attachment) {
|
||||
VkPipelineColorBlendStateCreateInfo* cb_state;
|
||||
|
||||
cb_state = ralloc(mem_ctx, VkPipelineColorBlendStateCreateInfo);
|
||||
|
Reference in New Issue
Block a user