mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
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:
parent
a4e4bf8ccd
commit
17dfbc25d2
1 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue