radv: fix s/load/store/ copy-paste typo
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 23 Sep 2019 16:48:55 +0000 (17:48 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 24 Sep 2019 18:18:54 +0000 (19:18 +0100)
Fixes: cdc6efddf918bc07d30d ("radv: implement all depth/stencil resolve modes using graphics")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_resolve_fs.c

index 2068f39a2b996871075e032c266b4a818c40e7ff..5d4fe3a4be27eb5280a6daf35630de35224f97b7 100644 (file)
@@ -535,7 +535,7 @@ create_depth_stencil_resolve_pipeline(struct radv_device *device,
                                                        .pAttachments = &(VkAttachmentDescription) {
                                                                .format = src_format,
                                                                .loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
-                                                               .storeOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
+                                                               .storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                                                                .stencilLoadOp = VK_ATTACHMENT_LOAD_OP_LOAD,
                                                                .stencilStoreOp = VK_ATTACHMENT_STORE_OP_STORE,
                                                                .initialLayout = VK_IMAGE_LAYOUT_GENERAL,