mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
ARB prog parser: Set correct register file for OUTPUT variables
This commit is contained in:
parent
aafd576259
commit
86b33b5649
2 changed files with 213 additions and 199 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue