panfrost: Implement panfrost_set_global_binding
authorIcecream95 <ixn@disroot.org>
Tue, 22 Dec 2020 10:16:34 +0000 (23:16 +1300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 29 Mar 2021 23:15:48 +0000 (23:15 +0000)
commit80b90a0f2b83291da69f7eef38395e61e919ab97
tree3e22ad6be68ca4a267b3bc6861de44351a12404c
parent27b5ee5d7a767b8c2ed15453e1559c396046c7bc
panfrost: Implement panfrost_set_global_binding

This is enough OpenCL support to pass the Piglit test
cl-custom-run-simple-kernel with PAN_MESA_DEBUG=deqp.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9380>
src/gallium/drivers/panfrost/pan_compute.c