diff options
author | Christoph Bumiller <[email protected]> | 2010-09-09 19:12:54 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-09-09 19:21:34 +0200 |
commit | f30810cb68a53c4fef360778a230126ed0ee0ee3 (patch) | |
tree | 6b4f2fe6919261a5e356f5d75078c78a941f6cb7 /src/gallium/drivers/nv50/nv50_pc.c | |
parent | d8dcff79702860eae92d3d35b461c9b71114c1c5 (diff) |
nv50: use actual loads/stores if TEMPs are accessed indirectly
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c index c54f16e4c53..637b3cf2fe3 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) |