anv/image: Create an additional surface state for sampling
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 31 Jan 2017 19:04:42 +0000 (11:04 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 2 Mar 2017 21:17:54 +0000 (13:17 -0800)
commitefc2222323b662ca20a23044a5d4b79157152fe5
treeff6e1e4dc8d75538bb25a7801643ed0d250a58ef
parentf3621f4e71a68aae76093ee2232d4027057c2e19
anv/image: Create an additional surface state for sampling

This will be used to sample a depth input attachment without having to
pass through the HiZ buffer.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h