st/mesa: set take_index_buffer_ownership to skip an atomic in u_threaded
This reduces overhead by skipping the atomic, which is slow on AMD Zen.
It uses the same mechanism as vertex buffers.
Reviewed-by:
Zoltán Böszörményi <zboszor@gmail.com>
Showing
Please register or sign in to comment