v3d: Move uinfo->data[] dereference to the top of v3d_write_uniforms().
authorEric Anholt <eric@anholt.net>
Wed, 12 Dec 2018 06:42:13 +0000 (22:42 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2018 01:48:01 +0000 (17:48 -0800)
commit78ef05bde45c936c63ec64d4b406cb6d13d532c0
tree1992435964ddee051d23e0ad200babec2dddd84e
parenta7e15a50866cf6bff1114d6e34ee8beab23ee7bb
v3d: Move uinfo->data[] dereference to the top of v3d_write_uniforms().

Follows 3954331aff23 ("vc4: Pull uinfo->data[i] dereference out to the top
of the loop.") which showed a large performance win for vc4, but also
cleans up the code a decent bit.
src/gallium/drivers/v3d/v3d_uniforms.c