diff options
author | Christoph Bumiller <[email protected]> | 2011-08-17 20:38:40 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-08-17 20:40:43 +0200 |
commit | 34980cd153050111edc545545ddff11f5b68347e (patch) | |
tree | 5d6baf0286b4cd7ce7a6ddfbed667b1b4cfb3d58 /src/gallium | |
parent | 718b894dbb585af52dd24defb2e8c130216e5485 (diff) |
nv50: don't drop flags definition when merging SAT with ADD/MAD
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc_optimize.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc_optimize.c b/src/gallium/drivers/nv50/nv50_pc_optimize.c index d72b23c137a..a1590c2dc6b 100644 --- a/src/gallium/drivers/nv50/nv50_pc_optimize.c +++ b/src/gallium/drivers/nv50/nv50_pc_optimize.c @@ -462,6 +462,8 @@ nv_pass_lower_mods(struct nv_pass *ctx, struct nv_basic_block *b) mi->saturate = 1; mi->def[0] = nvi->def[0]; mi->def[0]->insn = mi; + mi->flags_def = nvi->flags_def; + mi->flags_def->insn = mi; nv_nvi_delete(nvi); } } |