From: Christian König Date: Thu, 7 Mar 2013 09:02:24 +0000 (+0100) Subject: r600g/llvm: Update CONSTANT_BUFFER address space definition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cb54833d097738b56c726a572a951302ac465a6;p=mesa.git r600g/llvm: Update CONSTANT_BUFFER address space definition To match recent LLVM changes. Signed-off-by: Christian König --- 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(