diff options
author | Eric Anholt <[email protected]> | 2014-09-23 15:27:55 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-23 17:23:29 -0700 |
commit | 45b104e0a228595142ed4bc62bbc8948100b9325 (patch) | |
tree | 6c23588560123540d5d42fb532ba92f4b13a50bb /src/gallium/drivers/vc4/vc4_qir.h | |
parent | 0e7bc3088be693284fba80519be825e6e8218e40 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index d1bfc77621e..04a81c95459 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -248,6 +248,7 @@ struct vc4_compile { uint32_t qpu_inst_count; uint32_t qpu_inst_size; uint32_t num_inputs; + uint32_t color_inputs; }; struct vc4_compile *qir_compile_init(void); |