vc4: Fix uniform reordering to support reading the same uniform twice.
authorEric Anholt <eric@anholt.net>
Tue, 17 Nov 2015 04:45:46 +0000 (20:45 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Nov 2015 01:45:23 +0000 (17:45 -0800)
commitdffe7260cd5f9c70df4b817c26a4268ddad2475c
treea147f69c6abc718629efcfb254531c1282ac5f97
parentd18d1ba5877c234a2cf4e3e834df27f03c7b6a11
vc4: Fix uniform reordering to support reading the same uniform twice.

This does actually happen in the wild (particularly fabs of a uniform), so
we'd like to support it.
src/gallium/drivers/vc4/vc4_reorder_uniforms.c