venus: fix msaa state sample location info sanitization

The additional reference has corrupted the below D/S state instead of
properly ending the msaa state pnext chain.

Fixes: ff64092ff3 ("venus: support VK_EXT_sample_locations")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35808>
This commit is contained in:
Yiwei Zhang
2025-06-27 23:56:46 -07:00
committed by Marge Bot
parent 8795006994
commit cb54338f65
+1 -1
View File
@@ -1408,7 +1408,7 @@ vn_multisample_info_pnext_init(
VkPipelineSampleLocationsStateCreateInfoEXT *sl =
&fix_tmp->sl_infos[index];
VkBaseOutStructure *cur = (void *)&fix_tmp->infos[index].pMultisampleState;
VkBaseOutStructure *cur = (void *)fix_tmp->infos[index].pMultisampleState;
vk_foreach_struct_const(src, info->pNext) {
void *next = NULL;