vk/cmd_buffer: Add a helper for allocating dynamic state
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Jul 2015 23:33:47 +0000 (16:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Jul 2015 23:56:29 +0000 (16:56 -0700)
commit6037b5d6100aeea9f0970fccd4ec38c3f60ffcc9
tree06a4af3199f826a2145c488fbe6bf61ccf17127c
parent7ccc8dd24ae254e10994b89e78f55d2003e0a12e
vk/cmd_buffer: Add a helper for allocating dynamic state

This matches what we do for surface state and makes the dynamic state pool
more opaque to things that need to get dynamic state.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_cmd_emit.c
src/vulkan/private.h