zink: allow zink_shader_module to be either a shobj or a mod using a bool
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 3 Apr 2023 19:43:33 +0000 (15:43 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 01:33:17 +0000 (01:33 +0000)
commit76fbc852208770103f1ba64f664534f4d36cce17
treebe6197026b4478f48849b6a819bd6de146ee7e65
parent36b014b28dbd1e712b37e108fbd5d9ef5a433755
zink: allow zink_shader_module to be either a shobj or a mod using a bool

this allows shader modules to more accurately represent the contents of
the zink_shader_object for which they are containers

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22725>
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_compiler.h
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_types.h