etnaviv: implement gl_VertexID/gl_InstanceID
authorJonathan Marek <jonathan@marek.ca>
Mon, 6 Jan 2020 02:40:18 +0000 (21:40 -0500)
committerJonathan Marek <jonathan@marek.ca>
Wed, 8 Jan 2020 17:27:35 +0000 (12:27 -0500)
commit76d93b437b74c4980009dcea837cb701da2304b0
treed2fc264a479747448453e0ffae1cdf0d27eaa35b
parent93ff6f59199800c2b3bf339500fb5f9d92cd43c0
etnaviv: implement gl_VertexID/gl_InstanceID

Fixes:
dEQP-GLES3.functional.instanced.*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
src/gallium/drivers/etnaviv/etnaviv_emit.c
src/gallium/drivers/etnaviv/etnaviv_internal.h
src/gallium/drivers/etnaviv/etnaviv_shader.c