mesa/src/gallium/drivers/asahi
Janne Grunau 3b9e8afd13 asahi,agx: Upload constant buffers immediately
The lifetime of the constant buffer's user_buffer is not guaranteed
to last until agx_upload_uniforms.
Fixes the same ASAN issue mesa/mesa!21685 is trying to address.

Fixes: 080b05e29e ("asahi: Add Gallium driver")
Signed-off-by: Janne Grunau <j@jannau.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
(cherry picked from commit d6ee12a4d7)
2023-08-16 11:49:09 +01:00
..
.clang-format asahi: replace copies of .clang-format with symlinks 2023-03-16 14:28:20 +00:00
agx_batch.c asahi: Implement valid buffer range tracking 2023-04-07 03:23:04 +00:00
agx_blit.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_disk_cache.c asahi: Fix disk cache disable with AGX_MESA_DEBUG 2023-05-09 16:54:30 +01:00
agx_disk_cache.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_fence.c asahi: Add a helper macro for debug/error messages 2023-04-07 03:23:04 +00:00
agx_fence.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_nir_lower_sysvals.c asahi: Wire up compute kernels 2023-03-05 19:40:43 +00:00
agx_pipe.c asahi: drop unnecessary DRM_FORMAT_MOD_{LINEAR,INVALID} fallbacks 2023-06-27 13:53:58 +01:00
agx_public.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_query.c asahi: Fix style nits 2023-04-07 03:23:04 +00:00
agx_state.c asahi,agx: Upload constant buffers immediately 2023-08-16 11:49:09 +01:00
agx_state.h asahi: Fix typo in debug/error message helper macro 2023-05-09 16:54:29 +01:00
agx_uniforms.c asahi,agx: Upload constant buffers immediately 2023-08-16 11:49:09 +01:00
meson.build asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00