zink: Use malloc to allocate libs
authorxurui <xurui@kylinos.cn>
Tue, 11 Apr 2023 08:32:05 +0000 (16:32 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Apr 2023 13:35:12 +0000 (13:35 +0000)
commit8b366b6bc09e3f51fc8212b0c9b03a138a7eddf7
tree98f704d672f16ac5f6fd3deed2a9f0b4c9d57a4c
parentf89c85e5d0172243d62f9a19e04361000b3ad530
zink: Use malloc to allocate libs

ralloc is less performant most of the time when the object doesn't have sets/hashtables attached
Use malloc instead of ralloc in zink_program.c

Signed-off-by: xurui <xurui@kylinos.cn>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22326>
src/gallium/drivers/zink/zink_program.c