freedreno/a6xx: use program cache
authorRob Clark <robdclark@gmail.com>
Wed, 10 Oct 2018 19:58:57 +0000 (15:58 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 17 Oct 2018 16:44:48 +0000 (12:44 -0400)
commitb4e94af37d454e42ba18c807b5d8db89746dd96d
tree1b34d58e8095400aaea57dabd430b9e78a552987
parent1d7fbe2cd1247edde06ac783813be096b88dc04b
freedreno/a6xx: use program cache

Use the in-memory cache to construct shader program state and re-use it
on subsequent draws, to lower driver overhead.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/a6xx/fd6_context.h
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/a6xx/fd6_program.h