vc4: Refactor uniform handling.
authorEric Anholt <eric@anholt.net>
Tue, 15 Jul 2014 18:46:20 +0000 (11:46 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 9 Aug 2014 01:59:47 +0000 (18:59 -0700)
commit0e182e7d8f6de9eef7e9b2fe5288072b7d9a6093
tree2e1f1bf04969c0385d5e5912a88d1a999b545448
parent6c185bd26352428a9e3e546b5738f0ffbea69236
vc4: Refactor uniform handling.

I wanted an easy way to set up new uniforms every time, so I could handle
texture-sampler-related uniforms.

v2: Rebase on helpers change.
src/gallium/drivers/vc4/vc4_program.c