mesa/src/poly/cl
Faith Ekstrand 3aa4be52f3
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
poly: Make all heap allocations atomic
All non-atomic allocations are on pretty slow paths where we only have a
single invocation running.  This means they're technically thread-safe
(assuming only a single queue) but it also means the perf of a single
allocation doesn't matter much.  However, as a bunch of things are
becoming helpers that may or may not be run in parallel for things like
multi-draw, it becomes harder to know when non-atomic is safe.  We're
probably better off using atomic allocations everywhere.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Mary Guillemard <mary@mary.zone>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38404>
2025-11-25 23:20:28 +00:00
..
geometry.cl poly/asahi: Pull a bunch of vertex_id_for helpers into poly/prim.h 2025-11-25 23:20:27 +00:00
meson.build
restart.h poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
tessellation.cl poly,asahi: Move vertex_output_buffer to poly_vertex_param 2025-11-25 23:20:18 +00:00
tessellator.h poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00