From 1a244cd9e29e0163a3d68cc30cc6f4a81a9ea96d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 30 Jul 2008 10:00:48 -0700 Subject: Formatting changes to ease application of patches --- src/mesa/drivers/dri/i965/brw_vs_emit.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri') diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 7767d1369c..ad414f42cc 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -1159,10 +1159,11 @@ void brw_vs_emit(struct brw_vs_compile *c ) break; } - if (inst->DstReg.File == PROGRAM_OUTPUT - &&inst->DstReg.Index != VERT_RESULT_HPOS - &&c->output_regs[inst->DstReg.Index].used_in_src) - brw_MOV(p, get_dst(c, inst->DstReg), dst); + if ((inst->DstReg.File == PROGRAM_OUTPUT) + && (inst->DstReg.Index != VERT_RESULT_HPOS) + && c->output_regs[inst->DstReg.Index].used_in_src) { + brw_MOV(p, get_dst(c, inst->DstReg), dst); + } release_tmps(c); } -- cgit v1.2.3