summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.h
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_asm.h
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_asm.h')
-rw-r--r--src/gallium/drivers/r600/r600_asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h
index 6ab5dacec5d..82c6c8d1c7e 100644
--- a/src/gallium/drivers/r600/r600_asm.h
+++ b/src/gallium/drivers/r600/r600_asm.h
@@ -203,6 +203,7 @@ struct r600_bytecode {
unsigned ncf;
unsigned ngpr;
unsigned nstack;
+ unsigned nlds_dw;
unsigned nresource;
unsigned force_add_cf;
uint32_t *bytecode;