Mesa (master): nvc0: don't combine memory loads across block boundaries
Christoph Bumiller
chrisbmr at kemper.freedesktop.org
Wed Feb 9 15:05:53 UTC 2011
Module: Mesa
Branch: master
Commit: d3ea15f5ca570b9d885781cd72232026e50046d0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3ea15f5ca570b9d885781cd72232026e50046d0
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Wed Feb 2 21:23:09 2011 +0100
nvc0: don't combine memory loads across block boundaries
---
src/gallium/drivers/nvc0/nvc0_pc_optimize.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nvc0/nvc0_pc_optimize.c b/src/gallium/drivers/nvc0/nvc0_pc_optimize.c
index b6d9972..57bf4b7 100644
--- a/src/gallium/drivers/nvc0/nvc0_pc_optimize.c
+++ b/src/gallium/drivers/nvc0/nvc0_pc_optimize.c
@@ -849,6 +849,11 @@ nv_pass_mem_opt(struct pass_reld_elim *ctx, struct nv_basic_block *b)
}
}
+ ctx->alloc = 0;
+ ctx->mem_a = ctx->mem_v = ctx->mem_l = NULL;
+ for (s = 0; s < 16; ++s)
+ ctx->mem_c[s] = NULL;
+
DESCEND_ARBITRARY(s, nv_pass_mem_opt);
return 0;
}
More information about the mesa-commit
mailing list