mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
clover: Use context device list for error checking in clGetProgramBuildInfo.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=70891. Reported-by: Bruno Jiménez <brunojimen@gmail.com>
This commit is contained in:
parent
e515dcbf96
commit
b8f89fc5cb
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ clGetProgramBuildInfo(cl_program d_prog, cl_device_id d_dev,
|
|||
auto &prog = obj(d_prog);
|
||||
auto &dev = obj(d_dev);
|
||||
|
||||
if (!count(dev, prog.devices()))
|
||||
if (!count(dev, prog.ctx.devs()))
|
||||
return CL_INVALID_DEVICE;
|
||||
|
||||
switch (param) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue