mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 10:08:08 +02:00
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:
parent
8795006994
commit
cb54338f65
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue