From: Vincent Lejeune Date: Tue, 30 Apr 2013 14:08:58 +0000 (+0200) Subject: r600g/llvm: Fix opencl build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6a4b70e2dc11132fbb29ef5e47c26e680c4e885;p=mesa.git r600g/llvm: Fix opencl build --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 81c4c36a8c8..bb54e38a63c 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -280,7 +280,7 @@ int r600_compute_shader_create(struct pipe_context * ctx, shader_ctx.bc->type = TGSI_PROCESSOR_COMPUTE; shader_ctx.bc->isa = r600_ctx->isa; r600_llvm_compile(mod, &bytes, &byte_count, r600_ctx->family, - shader_ctx.bc, dump); + shader_ctx.bc, &use_kill, dump); r600_bytecode_from_byte_stream(&shader_ctx, bytes, byte_count); if (shader_ctx.bc->chip_class == CAYMAN) { cm_bytecode_add_cf_end(shader_ctx.bc);