summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/clover/core/program.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/state_trackers/clover/core/program.cpp
index 8553ca7ec96..c07548c8f62 100644
--- a/src/gallium/state_trackers/clover/core/program.cpp
+++ b/src/gallium/state_trackers/clover/core/program.cpp
@@ -90,6 +90,8 @@ cl_build_status
program::build_status(const device &dev) const {
if (_binaries.count(&dev))
return CL_BUILD_SUCCESS;
+ else if (_logs.count(&dev))
+ return CL_BUILD_ERROR;
else
return CL_BUILD_NONE;
}