zink: generate sha1 for compute programs
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 12 Aug 2022 17:28:32 +0000 (13:28 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 04:11:16 +0000 (04:11 +0000)
commit5489b1a8ffaef8412bd116983554eb574d8c515b
tree3eeb64f65365aab7c720ed6d2a693dc32c6b4188
parent68f319a9b8204de36ac2dbad1e6bc99c08d6cedf
zink: generate sha1 for compute programs

this got broken in the move to u_live_shader_cache, which does not
handle compute programs and thus does not populate the shader's sha1

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18197>
src/gallium/drivers/zink/zink_program.c