diff options
author | EdB <[email protected]> | 2014-10-11 18:01:36 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-10-20 10:35:10 +0300 |
commit | 01d94193ac34239cc96e3f4aab7df0e37a82eb31 (patch) | |
tree | 9a7a81491e0809d446199279608cefb61bf5e2ff /src | |
parent | aa93af809fc8268a8a4a80e00ff4b8a2770fa659 (diff) |
clover: Don't return CL_INVALID_VALUE if there is no header.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/clover/api/program.cpp | 2 |
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 342915be1e2..a8a6291806e 100644 --- a/src/gallium/state_trackers/clover/api/program.cpp +++ b/src/gallium/state_trackers/clover/api/program.cpp @@ -197,7 +197,7 @@ clCompileProgram(cl_program d_prog, cl_uint num_devs, name, header.source())); }, range(header_names, num_headers), - objs(d_header_progs, num_headers)); + objs<allow_empty_tag>(d_header_progs, num_headers)); prog.build(devs, opts, headers); return CL_SUCCESS; |