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>
This commit is contained in:
@@ -960,6 +960,7 @@ anv_descriptor_set_write_buffer_view(struct anv_descriptor_set *set,
|
||||
void
|
||||
anv_descriptor_set_write_buffer(struct anv_descriptor_set *set,
|
||||
struct anv_device *device,
|
||||
struct anv_state_stream *alloc_stream,
|
||||
VkDescriptorType type,
|
||||
struct anv_buffer *buffer,
|
||||
uint32_t binding,
|
||||
|
Reference in New Issue
Block a user