v3d: Stop advertising support for flat shading.
authorEric Anholt <eric@anholt.net>
Wed, 20 Jan 2021 21:22:23 +0000 (13:22 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 10 Feb 2021 04:06:48 +0000 (20:06 -0800)
commitbcb5f9f94ac77080848be46ce7bf3edcae07ac71
treea46e23874240a768500b61a8ff6415e38492470c
parentff805f8ac7911b57bd4e1bf1839db942e3e2d176
v3d: Stop advertising support for flat shading.

The GL frontend can lower this weird GL feature away for us.  This should
fix redeclaration of the gl_Color/SecondaryColor as centroid, since that
case had been missed in the !flat special case here.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8601>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/vulkan/v3dv_pipeline.c
src/gallium/drivers/v3d/v3d_program.c
src/gallium/drivers/v3d/v3d_screen.c