gallium: add PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY
authorKarol Herbst <kherbst@redhat.com>
Tue, 5 May 2020 13:09:50 +0000 (15:09 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 19:59:12 +0000 (19:59 +0000)
commitc0f7f833eb9c968e9f1491117d3ddc072eefddb7
treee9d74534b45f64ac9aff2110304a9f0804a7e41f
parent08ceba943d280759b01973dec291eaa14a820894
gallium: add PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY

With the current UAPI we only support user pointers from the compute
engines, so we need a way to express that in gallium.

v2: fix typos
v3: add allows_user_pointers helper

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
docs/gallium/screen.rst
src/gallium/auxiliary/util/u_screen.c
src/gallium/frontends/clover/core/device.cpp
src/gallium/frontends/clover/core/device.hpp
src/gallium/frontends/clover/core/resource.cpp
src/gallium/include/pipe/p_defines.h