summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-11-10 16:43:35 -0800
committerEmil Velikov <emil.l.velikov@gmail.com>2016-12-15 16:15:13 +0000
commit0c2a66c5b6be5457b9aa8411804fdee32394cdd8 (patch)
treef76126f52115975719bda09800b8da84d0f93de7 /src
parent626b85cc15d8a57954f956620c0b89c3a06559af (diff)
downloadexternal_mesa3d-0c2a66c5b6be5457b9aa8411804fdee32394cdd8.zip
external_mesa3d-0c2a66c5b6be5457b9aa8411804fdee32394cdd8.tar.gz
external_mesa3d-0c2a66c5b6be5457b9aa8411804fdee32394cdd8.tar.bz2
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@lists.freedesktop.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> (cherry picked from commit 37537b7d868ddca376e2553a4ea9e5e0033a961c)
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_descriptor_set.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c
index 17a1c8e..94c3f03 100644
--- a/src/intel/vulkan/anv_descriptor_set.c
+++ b/src/intel/vulkan/anv_descriptor_set.c
@@ -498,6 +498,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;
}