broadcom/vc5: Add support for centroid varyings.
authorEric Anholt <eric@anholt.net>
Thu, 26 Apr 2018 16:24:32 +0000 (09:24 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Apr 2018 18:30:22 +0000 (11:30 -0700)
commit76ee9edcb4f5be8699cfb9a6c4aa231c4e7d4183
tree27556d81315aa8bf857050be0c86dec24a15306b
parente2f33178010a9612d8d89bf128e3a01a69e1dd82
broadcom/vc5: Add support for centroid varyings.

It would be nice to share the flags packet emit logic with flat shade
flags, but I couldn't come up with a good way while still using our pack
macros.  We need to refactor this to shader record setup at compile time,
anyway.

Fixes ext_framebuffer_multisample-interpolation * centroid-*
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_emit.c
src/gallium/drivers/vc5/vc5_program.c