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 <nanley.g.chery@intel.com>
This commit is contained in:
Jason Ekstrand
2016-03-31 09:32:05 -07:00
parent f9a2570a06
commit b377c1d08e
6 changed files with 9 additions and 11 deletions

View File

@@ -1667,7 +1667,6 @@ void anv_image_view_init(struct anv_image_view *view,
struct anv_device *device,
const VkImageViewCreateInfo* pCreateInfo,
struct anv_cmd_buffer *cmd_buffer,
uint32_t offset,
VkImageUsageFlags usage_mask);
struct anv_buffer_view {