iris: rework program cache interface
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Nov 2018 02:15:28 +0000 (18:15 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
commited4ffb971585908e7bdd8ec1bfffbc6f7b06bd10
treebba066ac74e6c3224b96000d4d2d4332e2178b3a
parent701a6b6006dad914c885c0b3c130fe47da2d5f54
iris: rework program cache interface

This exposes iris_upload_shader() without having to bind it, which will
be useful for precompiles.  It also lets us examine the old programs and
flag dirty bits at a higher level, rather than cramming all that
knowledge into the cache layer.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_program_cache.c