vc4: Add #defines for the texture uniform fields.
authorEric Anholt <eric@anholt.net>
Thu, 2 Oct 2014 00:32:50 +0000 (17:32 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Oct 2014 19:47:06 +0000 (21:47 +0200)
commit5c72d7706c55d2832b816af4192afa010de51636
treee9c0a9e26c4dd1ba2910de6fdf64f28db99171cf
parent5cfab07639c650e4e9bae063c72e08a27a5e209d
vc4: Add #defines for the texture uniform fields.

I wanted to make another set of texture uploads for handling reladdr
constants, and duplicating all the bitshifting looked like a terrible
idea.  In the process, this fixes a swap of the s/t texture wrap modes.
src/gallium/drivers/vc4/vc4_packet.h
src/gallium/drivers/vc4/vc4_program.c