summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta_clear.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-31 09:32:05 -0700
committerJason Ekstrand <[email protected]>2016-04-08 15:58:45 -0700
commitb377c1d08ed16ca0abeabc86e8d651036eea3145 (patch)
tree337c144a40e4e55be79b34fed65943bffdff433d /src/intel/vulkan/anv_meta_clear.c
parentf9a2570a06949810b10395d81c19f6295d76c530 (diff)
anv/image: Remove the offset parameter from image_view_init
The only place we were using this was in meta_blit2d which always creates a new image anyway so we can just use the image offset. Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_meta_clear.c')
-rw-r--r--src/intel/vulkan/anv_meta_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta_clear.c b/src/intel/vulkan/anv_meta_clear.c
index a24e59950be..a03701c684b 100644
--- a/src/intel/vulkan/anv_meta_clear.c
+++ b/src/intel/vulkan/anv_meta_clear.c
@@ -813,7 +813,7 @@ anv_cmd_clear_image(struct anv_cmd_buffer *cmd_buffer,
.layerCount = 1
},
},
- cmd_buffer, 0, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT);
+ cmd_buffer, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT);
VkFramebuffer fb;
anv_CreateFramebuffer(device_h,