mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
clover: Return CL_BUILD_ERROR for CL_PROGRAM_BUILD_STATUS when compilation fails v2
v2: - Don't use _errs map Cc: 10.5 10.4 <mesa-stable@lists.freedesktop.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
4c53d2acbb
commit
fda7558057
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue