vc4: Avoid repeated hindex lookups in the loop over tiles.
authorEric Anholt <eric@anholt.net>
Sun, 21 Dec 2014 21:10:25 +0000 (13:10 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 24 Dec 2014 18:28:33 +0000 (08:28 -1000)
commit20e3a2430e0435b8ee4861553e5acd13c58cf90f
treee83995a22e06c3e8f7712780440b3374f6b0cfdd
parent4616b2ef850cb2b3e33005809ed77a697afc4186
vc4: Avoid repeated hindex lookups in the loop over tiles.

Improves norast performance of a microbenchmark by 11.1865% +/- 2.37673%
(n=20).
src/gallium/drivers/vc4/vc4_cl.h
src/gallium/drivers/vc4/vc4_context.c