Mesa (master): anv/descriptor_set: Write the state offset in the surface state free list.

Jason Ekstrand jekstrand at kemper.freedesktop.org
Thu Nov 17 01:08:28 UTC 2016


Module: Mesa
Branch: master
Commit: 37537b7d868ddca376e2553a4ea9e5e0033a961c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37537b7d868ddca376e2553a4ea9e5e0033a961c

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Nov 10 16:43:35 2016 -0800

anv/descriptor_set: Write the state offset in the surface state free list.

When Kristian reworked descriptor set allocation, somehow he forgot to
actually store the offset in the free list.  Somehow, this completely
missed CTS testing until now... This fixes all 2744 of the new
'dEQP-VK.texture.filtering.* tests in the latest CTS.

Cc: "12.0 13.0" <mesa-dev at lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

 src/intel/vulkan/anv_descriptor_set.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c
index 7d5a78d..88df545 100644
--- a/src/intel/vulkan/anv_descriptor_set.c
+++ b/src/intel/vulkan/anv_descriptor_set.c
@@ -489,6 +489,7 @@ anv_descriptor_set_destroy(struct anv_device *device,
       struct surface_state_free_list_entry *entry =
          set->buffer_views[b].surface_state.map;
       entry->next = pool->surface_state_free_list;
+      entry->offset = set->buffer_views[b].surface_state.offset;
       pool->surface_state_free_list = entry;
    }
 




More information about the mesa-commit mailing list