From 01d94193ac34239cc96e3f4aab7df0e37a82eb31 Mon Sep 17 00:00:00 2001 From: EdB Date: Sat, 11 Oct 2014 18:01:36 +0200 Subject: [PATCH] clover: Don't return CL_INVALID_VALUE if there is no header. Reviewed-by: Francisco Jerez --- src/gallium/state_trackers/clover/api/program.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(d_header_progs, num_headers)); prog.build(devs, opts, headers); return CL_SUCCESS; -- 2.30.2