summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover/api
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-10-29 11:21:09 -0700
committerFrancisco Jerez <[email protected]>2013-10-29 12:40:56 -0700
commitb8f89fc5cbd41a45130630080ffc921c60604545 (patch)
treed2c19b005b50e374ea1438133a6a65b04fa0990e /src/gallium/state_trackers/clover/api
parente515dcbf96887faae743acb4771cb7375be0d6b8 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/api')
-rw-r--r--src/gallium/state_trackers/clover/api/program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/api/program.cpp b/src/gallium/state_trackers/clover/api/program.cpp
index 70835762b46..5ef1be60969 100644
--- a/src/gallium/state_trackers/clover/api/program.cpp
+++ b/src/gallium/state_trackers/clover/api/program.cpp
@@ -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) {