virgl: Enable AMD_vertex_shader_(layer|viewport_index) when host supports it
authorGert Wollny <gert.wollny@collabora.com>
Wed, 22 Feb 2023 16:58:58 +0000 (17:58 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 09:30:00 +0000 (09:30 +0000)
commit831e7818aad562be029a00492bd86640bbe7bc59
tree30a958be1244b2c6e55157f2ef0dfb6325bbb6f5
parentd53aba56dbc382a8ff93614ca685d7d6ea14314b
virgl: Enable AMD_vertex_shader_(layer|viewport_index) when host supports it

This increase the number of cases when the texture upload from buffer
can use the PBO upload code path.

v2: Fix logic combination (Corentin)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21586>
src/gallium/drivers/virgl/virgl_screen.c
src/virtio/virtio-gpu/virgl_hw.h