zink: update samplerview descriptor layouts when image binds are set
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 5 Mar 2021 14:31:51 +0000 (09:31 -0500)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 12 May 2021 02:39:50 +0000 (22:39 -0400)
commit208e34e1102799e0ea46b2c6778d6aaaa78176f6
treea9506c03a355767236f18af1a47d158ea3917e5a
parent4c7d951b7626c588bbcdee327aaf21ed2d394150
zink: update samplerview descriptor layouts when image binds are set

for this case it's important to match the GENERAL layout in sampler bindings
if the resource is also being used as a shader image

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