cso: inline more functions because some parameters like key_size are literals
authorMarek Olšák <marek.olsak@amd.com>
Sun, 7 Aug 2022 23:29:37 +0000 (19:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 04:56:55 +0000 (04:56 +0000)
commitf7b513c9b1efa56514bf3d0aa778a141a96f98ff
tree4223d18491b453f5818221a856dccd55fb23cbfa
parent2f0cd4029ce3fb631b994d4fadeba7a864b20f19
cso: inline more functions because some parameters like key_size are literals

One function is moved to the header file, the other two functions are inlined
manually.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19129>
src/gallium/auxiliary/cso_cache/cso_cache.c
src/gallium/auxiliary/cso_cache/cso_cache.h