OSDN Git Service

vc4: Cache texture p0/p1 setup for the sampler view.
authorEric Anholt <eric@anholt.net>
Tue, 14 Jul 2015 19:18:40 +0000 (12:18 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Jul 2015 22:17:58 +0000 (15:17 -0700)
commit0f4d2b0a2dd3fa39426f2789bf2a8fc939adf001
tree26d4ddbb5a071ff24c224c6453a6f3064165ed1c
parent1835ce6e35e6a186c2ba1bdf39b73783a2cb2ad5
vc4: Cache texture p0/p1 setup for the sampler view.

In exchange for a bit of space and computation in CSO setup, we cut
vc4_uniform.c (draw time) code size by 4.8%.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_state.c
src/gallium/drivers/vc4/vc4_uniforms.c