r600g/llvm: Update CONSTANT_BUFFER address space definition
authorChristian König <christian.koenig@amd.com>
Thu, 7 Mar 2013 09:02:24 +0000 (10:02 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Mar 2013 09:03:11 +0000 (10:03 +0100)
To match recent LLVM changes.

Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/r600_llvm.c

index aee7cea0d5adfdfed2dc0092fc860b32fdeae53d..3385c448b981c15c725afb08563c5874910e3c9a 100644 (file)
@@ -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(