Indentation fixes.
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jul 2009 16:50:06 +0000 (09:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jul 2009 16:50:06 +0000 (09:50 -0700)
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.y

index 5b807ce853b435c49b49e9a487a2b4daaffdfc25..906c6b4738fdab080c2fb8a09b3ec7943d608a0a 100644 (file)
@@ -2540,14 +2540,14 @@ yyreduce:
              (yyval.src_reg).Base.Index = s->param_binding_begin;
              break;
           case at_attrib:
-            (yyval.src_reg).Base.File = PROGRAM_INPUT;
-            (yyval.src_reg).Base.Index = s->attrib_binding;
-            state->prog->InputsRead |= (1U << (yyval.src_reg).Base.Index);
-
-            if (!validate_inputs(& (yylsp[(1) - (1)]), state)) {
-               YYERROR;
-            }
-            break;
+             (yyval.src_reg).Base.File = PROGRAM_INPUT;
+             (yyval.src_reg).Base.Index = s->attrib_binding;
+             state->prog->InputsRead |= (1U << (yyval.src_reg).Base.Index);
+
+             if (!validate_inputs(& (yylsp[(1) - (1)]), state)) {
+                YYERROR;
+             }
+             break;
 
           default:
              YYERROR;
index c7e36096e0bd11e0f534337205aa33cd0ccb9b12..251cf7d3099dc39ebead260878901a6a562d20a9 100644 (file)
@@ -608,14 +608,14 @@ srcReg: IDENTIFIER /* temporaryReg | progParamSingle */
              $$.Base.Index = s->param_binding_begin;
              break;
           case at_attrib:
-            $$.Base.File = PROGRAM_INPUT;
-            $$.Base.Index = s->attrib_binding;
-            state->prog->InputsRead |= (1U << $$.Base.Index);
-
-            if (!validate_inputs(& @1, state)) {
-               YYERROR;
-            }
-            break;
+             $$.Base.File = PROGRAM_INPUT;
+             $$.Base.Index = s->attrib_binding;
+             state->prog->InputsRead |= (1U << $$.Base.Index);
+
+             if (!validate_inputs(& @1, state)) {
+                YYERROR;
+             }
+             break;
 
           default:
              YYERROR;