summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_pc.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-09-18 13:40:10 +0200
committerChristoph Bumiller <[email protected]>2010-09-18 15:21:59 +0200
commit275a81af13624be70566e190d4dd1f457ea1ff33 (patch)
treefc11493382b31e6b6bb9019baf500e63b008fe2d /src/gallium/drivers/nv50/nv50_pc.c
parentca92ae2699c4aad21c0811b9a5562b9223816caf (diff)
nv50: add relocs for stack and local mem buffers
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_pc.c2
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 676540538e5..42127a138aa 100644
--- a/src/gallium/drivers/nv50/nv50_pc.c
+++ b/src/gallium/drivers/nv50/nv50_pc.c
@@ -547,6 +547,8 @@ nv50_generate_code(struct nv50_translation_info *ti)
ti->p->fixups = pc->fixups;
ti->p->num_fixups = pc->num_fixups;
+ ti->p->uses_lmem = ti->store_to_memory;
+
NV50_DBGMSG("SHADER TRANSLATION - %s\n", ret ? "failure" : "success");
out: