commit | 4de4f552289af8219c35a9b9a772e14c90ee88ca | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Thu Nov 05 05:42:34 2020 +1000 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Fri Nov 13 10:05:35 2020 -0800 |
tree | c17afea374864b6b74af67b8cf8b60bf36ad1b93 | |
parent | f4d976d5917980542acff50caa0981c20c50fc78 [diff] |
gallium: handle empty cbuf slots in framebuffer samples helper If we have cbufs but they are all empty, default to returning the fb->samples. Fixes: dEQP-VK.pipeline.multisample.mixed_count.1_4_unused on lavapipe v2: drop unneeded chunk (Roland) Cc: 20.3 <mesa-stable> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7499> (cherry picked from commit 4b1d23b24343dbb4e6c579502c712d86ba07903f)