mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 14:30:22 +01:00
panvk: fix accidental assignment in assert
Fixes: cb3f648175 ("panvk: Create MS shadow images and views")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39098>
This commit is contained in:
parent
e96b5a2f98
commit
63a19daefb
1 changed files with 2 additions and 2 deletions
|
|
@ -659,8 +659,8 @@ create_ms_images(struct panvk_device *dev, struct panvk_image *img,
|
|||
&img->ms_imgs[msaa_idx]);
|
||||
|
||||
struct panvk_image *res = panvk_image_from_handle(img->ms_imgs[msaa_idx]);
|
||||
assert(res->vk.format = img->vk.format);
|
||||
assert(res->plane_count = img->plane_count);
|
||||
assert(res->vk.format == img->vk.format);
|
||||
assert(res->plane_count == img->plane_count);
|
||||
for (uint32_t i = 0; i < res->plane_count; ++i) {
|
||||
assert(res->planes[i].image.props.format ==
|
||||
img->planes[i].image.props.format);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue