etnaviv: move shader_count to etna_compiler
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 29 Jun 2020 10:10:55 +0000 (12:10 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jul 2020 20:01:04 +0000 (20:01 +0000)
commit7ee146aad49bc9e724cc93033298195ad1d9e162
treea2a70b673a62d75353d542ace2fbc95d506ab56b
parent5839a7d64a21a1bfb7425895f793d1fbb52a4e12
etnaviv: move shader_count to etna_compiler

Also fix data race on making the shader's id.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5996>
src/gallium/drivers/etnaviv/etnaviv_compiler.h
src/gallium/drivers/etnaviv/etnaviv_shader.c