anv: descriptor: make descriptor writing take a stream allocator
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 17 Jan 2017 17:43:08 +0000 (17:43 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 2 Mar 2017 10:34:06 +0000 (10:34 +0000)
commit12dee851a3108aabaa80b5c05a633b4bb3d4023b
tree44323876c03c2c5683acd83c0c38cad17978d803
parent194fa5828542604b65bdcee108cbcfb740327d09
anv: descriptor: make descriptor writing take a stream allocator

This allows us to allocate surface states from the command buffer when
pushing descriptor sets rather than allocating them through a
descriptor set pool.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_private.h