lavapipe: take layers into account around render surface creation.
authorDave Airlie <airlied@redhat.com>
Sun, 25 Sep 2022 23:13:37 +0000 (09:13 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 25 Sep 2022 23:40:27 +0000 (09:40 +1000)
commit21d39dd1deb03366f54c4d7bfa09835cab0f1ca9
treebfa0774f4fc9ffaa7479904cbd6b8f4d0f5eb933
parentd724e9568244932977087ec4045fd16c1ecc8e04
lavapipe: take layers into account around render surface creation.

This makes the code more consistent with handling layers, but also
makes sure a new surface is created when the w/h/layers changes.

Fixes: 8a6160a354282 ("lavapipe: VK_KHR_dynamic_rendering")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18811>
src/gallium/frontends/lavapipe/lvp_execute.c