gallium/cso_hash: make cso_hash declared within structures instead of alloc'd
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jan 2020 01:10:43 +0000 (20:10 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Feb 2020 23:16:28 +0000 (18:16 -0500)
commita8bbf1054093f638c83a27696b841d053a83ba72
treee3c446cb77def93d325d4fe12790cc22dbe539ae
parentf8594a06e4a2e65c3fc458d7ddce374e9a093b6e
gallium/cso_hash: make cso_hash declared within structures instead of alloc'd

This removes one level of indirection.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3829>
src/gallium/auxiliary/cso_cache/cso_cache.c
src/gallium/auxiliary/cso_cache/cso_hash.c
src/gallium/auxiliary/cso_cache/cso_hash.h
src/gallium/auxiliary/tgsi/tgsi_sanity.c
src/gallium/auxiliary/translate/translate_cache.c
src/gallium/auxiliary/util/u_hash_table.c
src/gallium/auxiliary/util/u_surfaces.c
src/gallium/auxiliary/util/u_surfaces.h
src/gallium/state_trackers/xa/xa_tgsi.c