summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Wasserbäch <kai@dev.carbon-project.org>2015-09-12 10:39:50 +0200
committerDave Airlie <airlied@gmail.com>2015-09-13 07:09:08 +1000
commitd6fbcf6ee28c273b37bf293aea5faf77253029a3 (patch)
treeb661a952dc7d490e7e0ba26ae9682cb7bbb19ab3 /src
parent1037e0a84f61f4b1815093bcfd548d4b58ca106f (diff)
downloadexternal_mesa3d-d6fbcf6ee28c273b37bf293aea5faf77253029a3.zip
external_mesa3d-d6fbcf6ee28c273b37bf293aea5faf77253029a3.tar.gz
external_mesa3d-d6fbcf6ee28c273b37bf293aea5faf77253029a3.tar.bz2
r600: Fix llvm build since const buffer changes
In commit f9caabe8f1bff86d19b53d9ecba5c72b238d9e23: One place in r600_llvm.c was forgotten when replacing R600_UCP_CONST_BUFFER with R600_BUFFER_INFO_CONST_BUFFER. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91985 Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'src')
-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 3362fd0..372cd41 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -22,7 +22,7 @@
#if defined R600_USE_LLVM || defined HAVE_OPENCL
#define CONSTANT_BUFFER_0_ADDR_SPACE 8
-#define CONSTANT_BUFFER_1_ADDR_SPACE (CONSTANT_BUFFER_0_ADDR_SPACE + R600_UCP_CONST_BUFFER)
+#define CONSTANT_BUFFER_1_ADDR_SPACE (CONSTANT_BUFFER_0_ADDR_SPACE + R600_BUFFER_INFO_CONST_BUFFER)
#define LLVM_R600_BUFFER_INFO_CONST_BUFFER \
(CONSTANT_BUFFER_0_ADDR_SPACE + R600_BUFFER_INFO_CONST_BUFFER)