From f30810cb68a53c4fef360778a230126ed0ee0ee3 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 9 Sep 2010 19:12:54 +0200 Subject: nv50: use actual loads/stores if TEMPs are accessed indirectly --- src/gallium/drivers/nv50/nv50_pc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nv50/nv50_pc.c') diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c index c54f16e4c5..637b3cf2fe 100644 --- a/src/gallium/drivers/nv50/nv50_pc.c +++ b/src/gallium/drivers/nv50/nv50_pc.c @@ -414,6 +414,8 @@ nv50_generate_code(struct nv50_translation_info *ti) nv_print_program(pc); #endif + pc->opt_reload_elim = ti->store_to_memory ? FALSE : TRUE; + /* optimization */ ret = nv_pc_exec_pass0(pc); if (ret) -- cgit v1.2.3