freedreno: Fix helgrind complaint on shader-db key setup.
authorEric Anholt <eric@anholt.net>
Thu, 25 Jul 2019 19:58:59 +0000 (12:58 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Jul 2019 19:50:49 +0000 (12:50 -0700)
commit65aeeae6708269081206624f75163c8df6ddd67c
tree2b90ba8a68ae933068bd355abed4af913e31bbf5
parentaac492901a9c717e1c667a5313fdf7ba1b750cf2
freedreno: Fix helgrind complaint on shader-db key setup.

If the variable's going to be static, we shouldn't be memsetting it
from every thread and instead just have it in the data section.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_gallium.c