diff options
author | Christoph Bumiller <[email protected]> | 2010-08-16 17:18:30 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-08-17 00:47:47 +0200 |
commit | 6c5c55723d32f8933ffb5fc6b5beb209eca84ca8 (patch) | |
tree | 30b3a4887901c55177fdda3fb591b214a13cc056 /src/gallium/drivers | |
parent | e7a0bfa69a6ce45bb53baa8220eae418225c5649 (diff) |
nv50: fix thinko in store to output reg possible check
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc_optimize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc_optimize.c b/src/gallium/drivers/nv50/nv50_pc_optimize.c index 4cf387257df..5d575461ca9 100644 --- a/src/gallium/drivers/nv50/nv50_pc_optimize.c +++ b/src/gallium/drivers/nv50/nv50_pc_optimize.c @@ -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]; |