turnip: Remove workaround for CTS bug zero-sized inline uniform block

The cts issue was addressed in:
  https://github.com/KhronosGroup/VK-GL-CTS/commit/ae8b8a07118a4e0dfc185a531abe234e9956725b

Affected:
  dEQP-VK.binding_model.descriptorset_random.*.iublimit*

Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29414>
This commit is contained in:
Karmjit Mahil
2024-05-27 11:55:10 +01:00
committed by Marge Bot
parent a54f7f7dc5
commit 7bdcbe11ac
-8
View File
@@ -860,14 +860,6 @@ tu_lower_io(nir_shader *shader, struct tu_device *dev,
mesa_to_vk_shader_stage(shader->info.stage)))
continue;
/* Workaround a CTS bug by ignoring zero-sized inline uniform
* blocks that aren't being properly filtered out when creating the
* descriptor set layout, see
* https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/4115
*/
if (binding->size == 0)
continue;
/* If we don't know the size at compile time due to a variable
* descriptor count, then with descriptor buffers we cannot know
* how much space the real inline uniform has. In this case we fall