vk: Make sure we emit binding table pointers after push constants
authorKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Fri, 8 Jan 2016 00:25:49 +0000 (16:25 -0800)
committerKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Fri, 8 Jan 2016 00:31:57 +0000 (16:31 -0800)
commit1b1dca75a401b2d885ae7583837a63c3f66da022
tree24b81bbc7c48065082869e05c8c412a8bf7f7f20
parenta18b5e642ce70c3d4d5f7f243ee562baa3161306
vk: Make sure we emit binding table pointers after push constants

SKL needs this to make sure we flush the push constants. It gets a
little tricky, since we also need to emit binding tables before push
constants, since that may affect the push constants (dynamic buffer
offsets and storage image parameters).  This patch splits emitting
binding tables from emitting the pointers so that we can emit push
constants after binding tables but before emitting binding table
pointers.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c