radeonsi: add const to the key parameter in si_shader_select_with_key
authorMarek Olšák <marek.olsak@amd.com>
Tue, 10 Aug 2021 06:15:15 +0000 (02:15 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Sep 2021 15:24:11 +0000 (15:24 +0000)
commit03b5a94258ead1bd867d67ba3ff326236d655276
treea94455677195c29200ecd600dcf92bda04b2cdf5
parent361a7d245187d7f7aa7c6d63d4162765efc51f67
radeonsi: add const to the key parameter in si_shader_select_with_key

The keys will match the current state, so we shouldn't change them.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12343>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c