ARB prog parser: Set correct register file for OUTPUT variables

This commit is contained in:
Ian Romanick 2009-07-28 21:56:42 -07:00
parent aafd576259
commit 86b33b5649
2 changed files with 213 additions and 199 deletions

File diff suppressed because it is too large Load diff

View file

@ -683,12 +683,19 @@ dstReg: resultBinding
}
init_dst_reg(& $$);
if (s->type == at_temp) {
switch (s->type) {
case at_temp:
$$.File = PROGRAM_TEMPORARY;
$$.Index = s->temp_binding;
} else {
break;
case at_output:
$$.File = PROGRAM_OUTPUT;
$$.Index = s->output_binding;
break;
default:
$$.File = s->param_binding_type;
$$.Index = s->param_binding_begin;
break;
}
}
;