anv/cmd_buffer: Use the proper depth input attachment surface state
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 30 Jan 2017 20:27:15 +0000 (12:27 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 31 Jan 2017 17:00:50 +0000 (09:00 -0800)
commit33e0c5d003658320f5005e26caf55bbcfbe1fbb2
treecd7d7273768cceed245d53f8e6a3693b3416551f
parentfc27181f9e51441a26b7eb4f62794b5e9a994644
anv/cmd_buffer: Use the proper depth input attachment surface state

Commit 2852efcda40274acf3272611c6a3b7731523a72d moved the location of
the depth input attachment surface state from the render pass to the
image view, but failed to update the surface state location used when
emitting the binding table. Fix this by loading the surface state from
the correct location.

Fixes:
dEQP-VK.renderpass.formats.d16_unorm.input.*
dEQP-VK.renderpass.formats.d24_unorm_s8_uint.input.*
dEQP-VK.renderpass.formats.d32_sfloat.input.*
dEQP-VK.renderpass.formats.x8_d24_unorm_pack32.input.*
dEQP-VK.renderpass.attachment_allocation.input_output.93
dEQP-VK.renderpass.attachment_allocation.input_output.92
dEQP-VK.renderpass.attachment_allocation.input_output.82
dEQP-VK.renderpass.attachment_allocation.input_output.46

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/genX_cmd_buffer.c