hk: quiet gcc warning

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
Alyssa Rosenzweig
2024-09-05 14:07:30 -04:00
committed by Marge Bot
parent 57aabdb159
commit f3a407344d
+1 -1
View File
@@ -541,7 +541,7 @@ build_image_copy_shader(const struct vk_meta_image_copy_key *key)
for (unsigned s = 0; s < key->nr_samples; ++s) {
nir_def *ms_index = nir_imm_int(b, s);
nir_def *value1, *value2;
nir_def *value1 = NULL, *value2 = NULL;
nir_push_if(b, nir_ball(b, in_bounds));
{