[Mesa-dev] [PATCH 2/2] i965/vec4: fix indentation in lower_attributes_to_hw_regs()

Iago Toral Quiroga itoral at igalia.com
Wed Nov 2 15:13:07 UTC 2016


---
 src/mesa/drivers/dri/i965/brw_vec4.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 1fb65f3..03c83af 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1647,12 +1647,12 @@ vec4_visitor::lower_attributes_to_hw_regs(const int *attribute_map,
             return;
          }
 
-	 reg.swizzle = inst->src[i].swizzle;
+         reg.swizzle = inst->src[i].swizzle;
          reg.type = inst->src[i].type;
-	 if (inst->src[i].abs)
-	    reg = brw_abs(reg);
-	 if (inst->src[i].negate)
-	    reg = negate(reg);
+         if (inst->src[i].abs)
+            reg = brw_abs(reg);
+         if (inst->src[i].negate)
+            reg = negate(reg);
 
          inst->src[i] = reg;
       }
-- 
2.7.4



More information about the mesa-dev mailing list