summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_llvm.c
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-06-12 14:38:59 -0700
committerTom Stellard <[email protected]>2013-06-28 08:33:11 -0700
commit2840bec56f79347b95dec5458b20d4a46d1aa445 (patch)
treec49c4c6a610869ffed879b9e74f426a7c9bc99a0 /src/gallium/drivers/r600/r600_llvm.c
parent2639fca1f017907af7ce446fba60b520aa376abc (diff)
r600g/compute: Accept LDS size from the LLVM backend
And allocate the correct amount before dispatching the kernel. Tested-by: Aaron Watry <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
-rw-r--r--src/gallium/drivers/r600/r600_llvm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index c1809b30cdd..03a68e4648f 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -640,6 +640,9 @@ unsigned r600_llvm_compile(
case R_02880C_DB_SHADER_CONTROL:
*use_kill = G_02880C_KILL_ENABLE(value);
break;
+ case CM_R_0288E8_SQ_LDS_ALLOC:
+ bc->nlds_dw = value;
+ break;
}
}