iris: do not mention specifically clover for OpenCL support

It's confusing, when rusticl is used.

Acked-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25287>
This commit is contained in:
David Heidelberg 2023-09-19 18:23:30 +05:30 committed by Marge Bot
parent a4e4bf8ccd
commit 17dfbc25d2

View file

@ -120,14 +120,14 @@ iris_enable_clover()
}
static void
iris_warn_clover()
iris_warn_cl()
{
static bool warned = false;
if (warned)
return;
warned = true;
fprintf(stderr, "WARNING: OpenCL support via iris+clover is incomplete.\n"
fprintf(stderr, "WARNING: OpenCL support via iris driver is incomplete.\n"
"For a complete and conformant OpenCL implementation, use\n"
"https://github.com/intel/compute-runtime instead\n");
}
@ -581,10 +581,10 @@ iris_get_compute_param(struct pipe_screen *pscreen,
switch (param) {
case PIPE_COMPUTE_CAP_ADDRESS_BITS:
/* This gets queried on clover device init and is never queried by the
/* This gets queried on OpenCL device init and is never queried by the
* OpenGL state tracker.
*/
iris_warn_clover();
iris_warn_cl();
RET((uint32_t []){ 64 });
case PIPE_COMPUTE_CAP_IR_TARGET: