mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-12 20:28:19 +02:00
nv50: fix thinko in store to output reg possible check
This commit is contained in:
parent
e7a0bfa69a
commit
6c5c55723d
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ nv_pass_fold_stores(struct nv_pass *ctx, struct nv_basic_block *b)
|
|||
for (j = 0; j < 4 && nvi->src[j]; ++j)
|
||||
if (nvi->src[j]->value->reg.file == NV_FILE_IMM)
|
||||
break;
|
||||
if (j < 4)
|
||||
if (j < 4 && nvi->src[j])
|
||||
continue;
|
||||
|
||||
nvi->def[0] = sti->def[0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue