From ee96ab69760fd1b570d139cce74339f4fee2442d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 28 Sep 2024 11:00:56 -0400 Subject: [PATCH] hk: fix shadowing Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/vulkan/hk_cmd_draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/asahi/vulkan/hk_cmd_draw.c b/src/asahi/vulkan/hk_cmd_draw.c index 10dcdd69eef..ce2f31f7fcc 100644 --- a/src/asahi/vulkan/hk_cmd_draw.c +++ b/src/asahi/vulkan/hk_cmd_draw.c @@ -297,12 +297,12 @@ hk_build_bg_eot(struct hk_cmd_buffer *cmd, const VkRenderingInfo *info, continue; if (store) { - bool store = is_attachment_stored(att_info); + bool should_store = is_attachment_stored(att_info); /* Partial renders always need to flush to memory. */ - store |= partial_render; + should_store |= partial_render; - if (store) + if (should_store) key.op[i] = AGX_EOT_STORE; } else { bool load = att_info->loadOp == VK_ATTACHMENT_LOAD_OP_LOAD;