st/mesa: optimize st_update_array with ALWAYSINLINE
authorMarek Olšák <marek.olsak@amd.com>
Tue, 21 Jan 2020 01:32:02 +0000 (20:32 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commit11db8e0e00a72884ba9fda953b549dd65119dc73
tree2f514515a8a17e38fcfffcb98d6a536c1c295b42
parent36cc6b105b5299ae07f005feabd8bd6eb34c5257
st/mesa: optimize st_update_array with ALWAYSINLINE

The time spent in st_update_array is reduced by 5-10%.

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
src/mesa/state_tracker/st_atom_array.c