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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user