zink: specify struct member name when copying inline uniforms for gfx variants
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 21 Mar 2022 23:45:30 +0000 (19:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 14:36:25 +0000 (14:36 +0000)
commita06b0e0d21aa25dac7bb8605ced4a6c4e25e9ff7
tree435ac6583898891ff5f5ea942cf5be148cf4d35b
parentbe1b36d6310962f614e9c8d3603b236842d619f4
zink: specify struct member name when copying inline uniforms for gfx variants

avoid memory mismatch if inline uniform values aren't first member of struct

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15536>
src/gallium/drivers/zink/zink_program.c