anv: Allow selecting the slice of a 3D image
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 21 Jan 2017 03:47:18 +0000 (19:47 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 Jan 2017 20:27:48 +0000 (12:27 -0800)
commit99bb4c22a5b0978b4beed80f974746852b113e50
treeefc984d20e19a2acf430edf7ad828aa7651616fb
parent6d7911183418a9188c67a50df8135f61ea87cb02
anv: Allow selecting the slice of a 3D image

As per VK_KHR_maintenance1, clients can render to a slice of a 3D image
by creating a VK_IMAGE_VIEW_TYPE_2D view of it.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_image.c