hk: fix shadowing

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-28 11:00:56 -04:00
committed by Marge Bot
parent b1da16ccc9
commit ee96ab6976
+3 -3
View File
@@ -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;