broadcom/vc5: Move default attribute value setup to the CSO and fix them.
authorEric Anholt <eric@anholt.net>
Thu, 19 Oct 2017 22:22:13 +0000 (15:22 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Oct 2017 22:59:41 +0000 (15:59 -0700)
commit34690536a7fb792492fdedc9377a298827b8c1b7
tree2bf997d7eb679fc6604e9a6af5ad52b49a0e2c84
parentfb15168919613fd913addc5d2d90673e506ae0cc
broadcom/vc5: Move default attribute value setup to the CSO and fix them.

I was generating some stub values to bring the driver up, but fill them in
properly now.  We now set 1.0 or 1u as appropriate, and thanks to being in
their own BO it fixes piglit failures on the 7268 (where our 4-byte
alignment was insufficient).

Fixes const-packHalf2x16.shader_test
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_state.c