diff options
-rw-r--r-- | src/gallium/state_trackers/clover/core/program.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/state_trackers/clover/core/program.cpp index 6ca8080c925..5fcda23fc65 100644 --- a/src/gallium/state_trackers/clover/core/program.cpp +++ b/src/gallium/state_trackers/clover/core/program.cpp @@ -42,10 +42,10 @@ _cl_program::_cl_program(clover::context &ctx, void _cl_program::build(const std::vector<clover::device *> &devs) { - __binaries.clear(); - __logs.clear(); for (auto dev : devs) { + __binaries.erase(dev); + __logs.erase(dev); try { auto module = (dev->ir_format() == PIPE_SHADER_IR_TGSI ? compile_program_tgsi(__source) : |