r600g/llvm: Fix opencl build
authorVincent Lejeune <vljn@ovi.com>
Tue, 30 Apr 2013 14:08:58 +0000 (16:08 +0200)
committerVincent Lejeune <vljn@ovi.com>
Tue, 30 Apr 2013 14:38:47 +0000 (16:38 +0200)
src/gallium/drivers/r600/r600_shader.c

index 81c4c36a8c88daa1b7c7921fe092f3b64f8b297f..bb54e38a63c883391c958f2aabae43f07c6f9a1b 100644 (file)
@@ -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);