mesa/src/gallium/drivers/softpipe
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
..
ci Uprev Piglit to ed58dfbd12be34fa3dab97a7a2987b890e0637f1 2023-07-25 21:29:33 +00:00
meson.build softpipe: Drop the quad pstipple stage. 2021-12-27 09:57:46 -08:00
sp_buffer.c
sp_buffer.h
sp_clear.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_clear.h
sp_compute.c gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings. 2023-06-08 02:10:54 +00:00
sp_context.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_context.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_draw_arrays.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_fence.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_fence.h
sp_flush.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_flush.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
sp_fs.h
sp_fs_exec.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_image.c
sp_image.h
sp_limits.h
sp_prim_vbuf.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_prim_vbuf.h
sp_public.h
sp_quad.h
sp_quad_blend.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_quad_depth_test.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_quad_depth_test_tmp.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_quad_fs.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_quad_pipe.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
sp_quad_pipe.h softpipe: Drop the quad pstipple stage. 2021-12-27 09:57:46 -08:00
sp_query.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_query.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
sp_screen.c gallium: Remove PIPE_CAP_RGB_OVERRIDE_DST_ALPHA_BLEND 2023-07-11 15:52:08 +00:00
sp_screen.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
sp_setup.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_setup.h
sp_state.h softpipe: Add a dummy field to sp_fragment_shader_variant_key 2021-12-27 12:25:57 -08:00
sp_state_blend.c
sp_state_clip.c Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
sp_state_derived.c softpipe: Use the draw module's poly stipple handling, like llvmpipe. 2021-12-27 09:57:53 -08:00
sp_state_image.c
sp_state_rasterizer.c
sp_state_sampler.c gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
sp_state_shader.c gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings. 2023-06-08 02:10:54 +00:00
sp_state_so.c
sp_state_surface.c
sp_state_vertex.c gallium: remove start_slot parameter from pipe_context::set_vertex_buffers 2023-08-11 06:37:22 +00:00
sp_surface.c gallium/util: fix util_can_blit_via_copy_region with unbound render condition 2021-11-04 15:06:09 +00:00
sp_surface.h
sp_tex_sample.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_tex_sample.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
sp_tex_tile_cache.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
sp_tex_tile_cache.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
sp_texture.c gallium: rename util_clear_texture to util_clear_texture_sw 2023-07-10 15:23:06 +00:00
sp_texture.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
sp_tile_cache.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
sp_tile_cache.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00