v3d: don't emit point coordinates varyings if the FS doesn't read them
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 6 Jun 2019 08:04:27 +0000 (10:04 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 7 Jun 2019 06:29:42 +0000 (08:29 +0200)
commit9b96ae69bc7f07d267e880fe77a389c2b944f019
tree3ad3f68e6ece6bae88525ec71cebb4d5fad9bbf2
parent5e26e55e724f4eff28840cfb6922963069231902
v3d: don't emit point coordinates varyings if the FS doesn't read them

We still need to emit them in V3D 3.x since there there is no mechanism to
disable them.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/gallium/drivers/v3d/v3dx_draw.c