ac: fix indentation
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 29 Jan 2018 00:07:28 +0000 (11:07 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 29 Jan 2018 00:14:23 +0000 (11:14 +1100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c

index 6591d3caa434edb8c1075b1068125be8279d09a8..b3336ffafea0c79e2ca98f57a758f6709637b53e 100644 (file)
@@ -3169,12 +3169,12 @@ static LLVMValueRef visit_load_var(struct ac_nir_context *ctx,
                }
 
                if (ctx->stage == MESA_SHADER_GEOMETRY) {
-                               LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, instr->dest.ssa.bit_size);
-                               LLVMValueRef indir_index;
-                               unsigned const_index, vertex_index;
-                               get_deref_offset(ctx, instr->variables[0],
-                                                false, &vertex_index, NULL,
-                                                &const_index, &indir_index);
+                       LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, instr->dest.ssa.bit_size);
+                       LLVMValueRef indir_index;
+                       unsigned const_index, vertex_index;
+                       get_deref_offset(ctx, instr->variables[0],
+                                        false, &vertex_index, NULL,
+                                        &const_index, &indir_index);
 
                        return ctx->abi->load_inputs(ctx->abi, instr->variables[0]->var->data.location,
                                                     instr->variables[0]->var->data.driver_location,