diff options
author | Ian Romanick <[email protected]> | 2009-07-29 09:50:06 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-07-29 09:50:06 -0700 |
commit | 8a430dd4dad8520a7a37573e03d85cfb6316cb56 (patch) | |
tree | a1271f772568f4c4f556fdeaf8f89138f0d386fb /src/mesa/shader | |
parent | 4c5879ff3185e03b3baf0ed2765e06a951b35e9e (diff) |
Indentation fixes.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/program_parse.tab.c | 16 | ||||
-rw-r--r-- | src/mesa/shader/program_parse.y | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/src/mesa/shader/program_parse.tab.c b/src/mesa/shader/program_parse.tab.c index 5b807ce853b..906c6b4738f 100644 --- a/src/mesa/shader/program_parse.tab.c +++ b/src/mesa/shader/program_parse.tab.c @@ -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; diff --git a/src/mesa/shader/program_parse.y b/src/mesa/shader/program_parse.y index c7e36096e0b..251cf7d3099 100644 --- a/src/mesa/shader/program_parse.y +++ b/src/mesa/shader/program_parse.y @@ -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; |