zink: force unsized array in bo creation using the last block member type
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 24 Jun 2022 15:20:33 +0000 (11:20 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 5 Jul 2022 20:01:01 +0000 (16:01 -0400)
commit7b6020d48725409ef59a690c39f4577bb8129e0b
treebf022d4d5b6e1d720d77e614ebdd2d63d1b92314
parentea8a0654f5bb171904b17fcd1ba8228c50343837
zink: force unsized array in bo creation using the last block member type

if the last member of a block is an unsized array then the bo needs to have
an unsized array

cc: mesa-stable

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