From: Kristian Høgsberg Date: Tue, 26 May 2015 18:50:34 +0000 (-0700) Subject: vk: Allocate samplers from dynamic stream X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=610e6291da93f46dab29697606000bec9b425ee8;p=mesa.git vk: Allocate samplers from dynamic stream --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 4cdf3e2b8a6..fb190025c78 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -2670,7 +2670,7 @@ flush_descriptor_sets(struct anv_cmd_buffer *cmd_buffer) size_t size; size = layout->stage[s].sampler_count * 16; - state = anv_cmd_buffer_alloc_surface_state(cmd_buffer, size, 32); + state = anv_state_stream_alloc(&cmd_buffer->dynamic_state_stream, size, 32); memcpy(state.map, bindings->descriptors[s].samplers, size); static const uint32_t sampler_state_opcodes[] = {