mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
r500: need to re-setup inst offset/end for translated programs
this fixes texenv
This commit is contained in:
parent
774b3bc5a5
commit
7278266612
1 changed files with 3 additions and 0 deletions
|
|
@ -1402,6 +1402,9 @@ void r500TranslateFragmentShader(r300ContextPtr r300,
|
|||
|
||||
|
||||
r300UpdateStateParameters(fp->ctx, _NEW_PROGRAM);
|
||||
} else {
|
||||
fp->inst_offset = 0;
|
||||
fp->inst_end = fp->cs->nrslots - 1;
|
||||
}
|
||||
|
||||
update_params(fp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue