diff options
author | Dave Airlie <airlied@redhat.com> | 2016-12-07 23:58:08 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-12-08 23:06:10 +0000 |
commit | 6cde094bf74e3638ff646ff96bd3179545259c98 (patch) | |
tree | 29bc963000c43d4c857a1cf80839b33b58b33796 /src/amd | |
parent | 71a9574ffa1463773ad7587262bacc50ed37c042 (diff) |
radv/meta: don't pass rect into blit2d src function.
Reviewed by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_meta_blit2d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c index 6e92f80dc1..5a42fd894b 100644 --- a/src/amd/vulkan/radv_meta_blit2d.c +++ b/src/amd/vulkan/radv_meta_blit2d.c @@ -112,7 +112,6 @@ static void blit2d_bind_src(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img, struct radv_meta_blit2d_buffer *src_buf, - struct radv_meta_blit2d_rect *rect, struct blit2d_src_temps *tmp, enum blit2d_src_type src_type, VkFormat depth_format) { @@ -287,7 +286,7 @@ radv_meta_blit2d_normal_dst(struct radv_cmd_buffer *cmd_buffer, if (dst->aspect_mask != VK_IMAGE_ASPECT_COLOR_BIT) depth_format = dst->image->vk_format; struct blit2d_src_temps src_temps; - blit2d_bind_src(cmd_buffer, src_img, src_buf, &rects[r], &src_temps, src_type, depth_format); + blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format); uint32_t offset = 0; struct blit2d_dst_temps dst_temps; |