vc4: Add support for flat shading.
authorEric Anholt <eric@anholt.net>
Tue, 23 Sep 2014 22:27:55 +0000 (15:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 24 Sep 2014 00:23:29 +0000 (17:23 -0700)
commit45b104e0a228595142ed4bc62bbc8948100b9325
tree6c23588560123540d5d42fb532ba92f4b13a50bb
parent0e7bc3088be693284fba80519be825e6e8218e40
vc4: Add support for flat shading.

This is just the GL 1.1 flat shading of colors -- we don't need to support
TGSI constant interpolation bits, because we don't do GLSL 1.30.

Fixes 7 piglit tests.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_emit.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_state.c