iris: Split iris_upload_shader in two
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 28 Jun 2021 18:51:10 +0000 (11:51 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 28 Jul 2021 17:32:44 +0000 (17:32 +0000)
commitdff0d9911d176802b54890c796e19f56c50f24e1
treeb0fb19b218f24334d93c38620a8f4d32bdbad527
parent42c34e1ac8da3a000087c02cfd9f6fcb83e84fbc
iris: Split iris_upload_shader in two

Now the part that uploads the shader and the part that finishes the
creation of the shader are separated.  Each now has a more reasonable
number of parameters.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11229>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_disk_cache.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_program_cache.c