OSDN Git Service

vc4: Cache the texture p1 for the sampler.
authorEric Anholt <eric@anholt.net>
Tue, 14 Jul 2015 19:32:04 +0000 (12:32 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Jul 2015 22:17:58 +0000 (15:17 -0700)
commit7124feba1b879deb88dbf2baf600ed42309d9839
treee4f15973dbb8a8031aacb90f6472b09b0f8f3b19
parent0f4d2b0a2dd3fa39426f2789bf2a8fc939adf001
vc4: Cache the texture p1 for the sampler.

Cuts another 12% of vc4_uniforms.o, in exchange for computing it at
CSO creation time.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_state.c
src/gallium/drivers/vc4/vc4_uniforms.c