mirror of https://gitlab.freedesktop.org/mesa/mesa
radv: initialize a couple of variables
Because musl will lose (in the next commit) the ability to see that they are initialized... Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28800>
This commit is contained in:
parent
05c4c17f91
commit
71b93f63dd
|
@ -2008,7 +2008,7 @@ radv_dcc_formats_compatible(enum amd_gfx_level gfx_level, VkFormat format1, VkFo
|
|||
{
|
||||
const struct util_format_description *desc1, *desc2;
|
||||
enum dcc_channel_type type1, type2;
|
||||
unsigned size1, size2;
|
||||
unsigned size1 = 0, size2 = 0;
|
||||
int i;
|
||||
|
||||
/* All formats are compatible on GFX11. */
|
||||
|
|
Loading…
Reference in New Issue