llvmpipe: fix userptr for texture resources.
authorDave Airlie <airlied@gmail.com>
Wed, 13 Oct 2021 04:49:50 +0000 (14:49 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 17 Oct 2021 20:30:07 +0000 (06:30 +1000)
commit17a565e0cfb79fb8078fcf7f7cc7b6be0ef887ba
tree14d5ba07746ed4349b61127b92d9854bb41df39c
parentd31ca63527e3eb5bf271267c2a60a9b5af83bd89
llvmpipe: fix userptr for texture resources.

This is needed for CL image hostptr support, but it's possible
it could hit these paths from GL/Vulkan

Fixes: 9a57dceeb760 ("llvmpipe: add support for user memory pointers")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13375>
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h