mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 02:50:30 +01:00
nv40: workaround fp result.data[0] clobberage
Temporary, the fp reg handling will get reworked at some point in the near future. But before that, there's a few bugs to find.
This commit is contained in:
parent
62a8e7685f
commit
01cb2cd93e
1 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ temp(struct nv40_fpc *fpc)
|
|||
int idx;
|
||||
|
||||
idx = fpc->temp_temp_count++;
|
||||
idx += fpc->high_temp + 1;
|
||||
idx += fpc->high_temp + 2;
|
||||
return nv40_sr(NV40SR_TEMP, idx);
|
||||
}
|
||||
|
||||
|
|
@ -817,7 +817,9 @@ nv40_fragprog_upload(struct nv40_context *nv40,
|
|||
|
||||
#if 0
|
||||
for (i = 0; i < fp->insn_len; i++) {
|
||||
fflush(stdout); fflush(stderr);
|
||||
NOUVEAU_ERR("%d 0x%08x\n", i, fp->insn[i]);
|
||||
fflush(stdout); fflush(stderr);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue