From f029e0ce13b1fd6182c98a76df3920431a867589 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 6 Nov 2015 11:56:48 -0800 Subject: anv: Add a layout to anv_descriptor_set --- src/vulkan/anv_device.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vulkan/anv_device.c') diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 26d0fe57a42..156a9d2b1b6 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1646,6 +1646,8 @@ anv_descriptor_set_create(struct anv_device *device, */ memset(set, 0, size); + set->layout = layout; + /* Go through and fill out immutable samplers if we have any */ struct anv_descriptor *desc = set->descriptors; for (uint32_t b = 0; b < layout->binding_count; b++) { -- cgit v1.2.3