radeonsi: don't use emit_data->args in atomic_emit
[mesa.git] / src / gallium / drivers / radeonsi / si_shader_tgsi_setup.c
index b9ed0fc3ab00b9493835c2956f8dedde8a750c92..975696d07ad6c4473d05b52598cfe734da71f0c2 100644 (file)
@@ -1021,6 +1021,8 @@ void si_llvm_context_init(struct si_shader_context *ctx,
 
        ctx->i32_0 = LLVMConstInt(ctx->i32, 0, 0);
        ctx->i32_1 = LLVMConstInt(ctx->i32, 1, 0);
+       ctx->i1false = LLVMConstInt(ctx->i1, 0, 0);
+       ctx->i1true = LLVMConstInt(ctx->i1, 1, 0);
 }
 
 /* Set the context to a certain TGSI shader. Can be called repeatedly