zink: Don't pass a blend state when we have full ds3 support
The blend state is considered to be dynamic when no VkPipelineColorBlendStateCreateInfo is passed in at pipeline creation. Fixes: VUID-VkGraphicsPipelineCreateInfo-renderPass-06055 when running "Quern - Undying thoughts" when the GFX level enables blending. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26718>
This commit is contained in:
parent
7ea48145a1
commit
53efd35acc
1 changed files with 2 additions and 1 deletions
|
|
@ -617,7 +617,8 @@ zink_create_gfx_pipeline_output(struct zink_screen *screen, struct zink_gfx_pipe
|
|||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_DB)
|
||||
pci.flags |= VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT;
|
||||
pipelineDynamicStateCreateInfo.dynamicStateCount = state_count;
|
||||
pci.pColorBlendState = &blend_state;
|
||||
if (!screen->have_full_ds3)
|
||||
pci.pColorBlendState = &blend_state;
|
||||
pci.pMultisampleState = &ms_state;
|
||||
pci.pDynamicState = &pipelineDynamicStateCreateInfo;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue