summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-03-07 10:02:24 +0100
committerChristian König <[email protected]>2013-03-07 10:03:11 +0100
commit2cb54833d097738b56c726a572a951302ac465a6 (patch)
tree1e3811c303441880c500a4cb6b6e0d3a2f40ce10 /src/gallium
parent2532147f8b28c3a990ad64288ece4b7f8decd237 (diff)
r600g/llvm: Update CONSTANT_BUFFER address space definition
To match recent LLVM changes. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_llvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index aee7cea0d5a..3385c448b98 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -20,7 +20,7 @@
#if defined R600_USE_LLVM || defined HAVE_OPENCL
-#define CONSTANT_BUFFER_0_ADDR_SPACE 9
+#define CONSTANT_BUFFER_0_ADDR_SPACE 8
#define CONSTANT_BUFFER_1_ADDR_SPACE (CONSTANT_BUFFER_0_ADDR_SPACE + R600_UCP_CONST_BUFFER)
static LLVMValueRef llvm_fetch_const(