mesa/src/gallium/auxiliary/driver_ddebug
Yogesh Mohan Marimuthu 973e6f3be0 gallium: remove start_slot parameter from pipe_context::set_vertex_buffers
This patch removes start_slot from set_vertex_buffers() as suggested in
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8142

compilation testing:
all gallium drivers, nine frontend compilation has been tested.
d3d10umd compilation has not been tested

driver, frontend testing:
only llvmpipe and radeonsi driver was tested running game

only the nine frontend changes are complex. All other changes are easy.
nine front end was using start slot and also using multi context.

nine frontend code changes:
In update_vertex_elements() and update_vertex_buffers(), the vertex
buffers or streams are ordered removing the holes. In update_vertex_elements()
the vertex_buffer_index is updated for pipe driver to match the ordered list.

v2: remove start_slot usage code from Marek (Marek Olšák)
v3: nine stream number holes mask code from Axel (Axel Davy)

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> (except nine, which is Ab)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22436>
2023-08-11 06:37:22 +00:00
..
dd_context.c gallium: remove start_slot parameter from pipe_context::set_vertex_buffers 2023-08-11 06:37:22 +00:00
dd_draw.c dd: Replace the usage of os_get_process_name with util_get_process_name in dd_draw.c 2023-06-20 05:02:51 +00:00
dd_pipe.h treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
dd_public.h
dd_screen.c gallium/ddebug: implement pipe_vertex_state callbacks 2022-04-20 22:15:43 +00:00
dd_util.h gallium: Remove unused os_process.h in gallium/auxiliary 2023-06-20 05:02:51 +00:00