gallium: pass cso_velems_state into cso_context instead of pipe_vertex_element
authorMarek Olšák <marek.olsak@amd.com>
Tue, 21 Jan 2020 03:59:49 +0000 (22:59 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 00:53:45 +0000 (00:53 +0000)
commitc9e4dc8d5e8f5e860f93eb3555a507402506b59a
tree60fe237f31934f94d67728e7d2940221b514faef
parent6c90e39a5b854595e3bbbf30f01aaf7dc798158e
gallium: pass cso_velems_state into cso_context instead of pipe_vertex_element

This removes one memcpy from the CSO hashing code.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
25 files changed:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_private.h
src/gallium/auxiliary/postprocess/pp_private.h
src/gallium/auxiliary/postprocess/pp_program.c
src/gallium/auxiliary/postprocess/pp_run.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_tests.c
src/gallium/auxiliary/util/u_vbuf.c
src/gallium/auxiliary/util/u_vbuf.h
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/xa/xa_renderer.c
src/gallium/tests/trivial/quad-tex.c
src/gallium/tests/trivial/tri.c
src/mesa/state_tracker/st_atom.h
src/mesa/state_tracker/st_atom_array.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/state_tracker/st_pbo.c