radv/meta: use novertex save path for resolve pass.
authorDave Airlie <airlied@redhat.com>
Wed, 19 Apr 2017 03:29:21 +0000 (13:29 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 7 May 2017 22:56:42 +0000 (08:56 +1000)
This was missing in the original change.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve.c
src/amd/vulkan/radv_meta_resolve_fs.c

index 565909ac3c6e337974d7e46fe84d8c989494e5fe..6f50f198b4da38fc046aa7a32ae74f66341e6a00 100644 (file)
@@ -579,7 +579,7 @@ radv_cmd_buffer_resolve_subpass(struct radv_cmd_buffer *cmd_buffer)
                return;
        }
 
-       radv_meta_save_graphics_reset_vport_scissor(&saved_state, cmd_buffer);
+       radv_meta_save_graphics_reset_vport_scissor_novertex(&saved_state, cmd_buffer);
 
        for (uint32_t i = 0; i < subpass->color_count; ++i) {
                VkAttachmentReference src_att = subpass->color_attachments[i];
index 0198b39a05ae241c68bcb7339ba731d7880c3840..c0345cf22fda05cb068651d2c1a0958fbb77a2a5 100644 (file)
@@ -608,7 +608,7 @@ radv_cmd_buffer_resolve_subpass_fs(struct radv_cmd_buffer *cmd_buffer)
        if (!subpass->has_resolve)
                return;
 
-       radv_meta_save_graphics_reset_vport_scissor(&saved_state, cmd_buffer);
+       radv_meta_save_graphics_reset_vport_scissor_novertex(&saved_state, cmd_buffer);
 
        for (uint32_t i = 0; i < subpass->color_count; ++i) {
                VkAttachmentReference src_att = subpass->color_attachments[i];