vc4: Switch to using the intrinsic accessors.
authorEric Anholt <eric@anholt.net>
Thu, 4 Aug 2016 21:42:14 +0000 (14:42 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Aug 2016 20:11:36 +0000 (13:11 -0700)
commitc30b22c421d2139135519449a68bf3120710a552
tree0f3c08632e37cac8029b6381183a478fb2ed8616
parent9f1411d1ecc0029f4a6697849e657ac7b2a64f94
vc4: Switch to using the intrinsic accessors.

The const_index[] values have always felt magic, and this documents them a
bit better.
src/gallium/drivers/vc4/vc4_nir_lower_blend.c
src/gallium/drivers/vc4/vc4_nir_lower_io.c
src/gallium/drivers/vc4/vc4_program.c