mesa/src/microsoft
Jesse Natalie ea3c73b33c microsoft/clc: Fix usage of nir_builder_at
nir_builder_at requires a block to chase back to the function impl,
but for an empty function impl, the previous code produced a cursor
with a null pointer. It was also just extra complicated.

While I'm here, use the new foreach helper since this code needs an impl.

Fixes: 12a268ea ("microsoft: Use nir_builder_at")
Reviewed-by: Eric Engestrom <eric@igalia.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24042>
2023-07-07 17:40:38 +00:00
..
ci ci: add a test-dozen-deqp flake 2023-06-27 14:00:19 +00:00
clc microsoft/clc: Fix usage of nir_builder_at 2023-07-07 17:40:38 +00:00
compiler d3d12: use imm-helpers 2023-06-29 07:08:19 +00:00
spirv_to_dxil dxil: Use nir_remove_non_entrypoints 2023-07-03 21:45:35 +00:00
vulkan dzn: VK_EXT_external_memory_host 2023-06-27 21:21:53 +00:00
meson.build d3d12: Move the D3D12ResourceState code to the gallium driver 2022-04-20 23:45:28 -07:00