summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta_clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_meta_clear.c')
-rw-r--r--src/vulkan/anv_meta_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_meta_clear.c b/src/vulkan/anv_meta_clear.c
index 17a40cd6be6..6873c4e8e6b 100644
--- a/src/vulkan/anv_meta_clear.c
+++ b/src/vulkan/anv_meta_clear.c
@@ -759,7 +759,7 @@ void anv_CmdClearColorImage(
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO,
.attachmentCount = 1,
.pAttachments = &(VkAttachmentDescription) {
- .format = iview.format->vk_format,
+ .format = iview.vk_format,
.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD,
.storeOp = VK_ATTACHMENT_STORE_OP_STORE,
.initialLayout = VK_IMAGE_LAYOUT_GENERAL,