Mesa (master): ac: fix indentation

Timothy Arceri tarceri at kemper.freedesktop.org
Mon Jan 29 00:15:27 UTC 2018


Module: Mesa
Branch: master
Commit: 9afc38c79913ec6809b6f00a29671a2f8adc042c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9afc38c79913ec6809b6f00a29671a2f8adc042c

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Mon Jan 29 11:07:28 2018 +1100

ac: fix indentation

Reviewed-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/common/ac_nir_to_llvm.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 6591d3caa4..b3336ffafe 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -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,




More information about the mesa-commit mailing list