vallium: handle 3D image views properly.
authorDave Airlie <airlied@redhat.com>
Thu, 20 Aug 2020 00:53:08 +0000 (10:53 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2020 00:27:38 +0000 (10:27 +1000)
commit857008850f37886f3febeaaf3b4e42f3db4e7603
tree52ae0ffbd831669d1d5e7185501901cb733da3ee
parent99330e50c9e08532f5d9c3568be938c7e9d8fd93
vallium: handle 3D image views properly.

Do pretty much what the gallium state tracker does here, and
fill out first/last layer for 3D image views correctly.

Fixes:
dEQP-VK.binding_model.shader_access.primary_cmd_buf.storage_image*3d*

Fixes: b38879f8c5f57b7f1802 ("vallium: initial import of the vulkan frontend")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>
src/gallium/frontends/vallium/val_execute.c