r600: Fix llvm build since const buffer changes
authorKai Wasserbäch <kai@dev.carbon-project.org>
Sat, 12 Sep 2015 08:39:50 +0000 (10:39 +0200)
committerDave Airlie <airlied@gmail.com>
Sat, 12 Sep 2015 21:09:08 +0000 (07:09 +1000)
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>
src/gallium/drivers/r600/r600_llvm.c

index 3362fd00dba77a9879853de6099e97a9bb6ae416..372cd419c73e5947b0e2cc2a4844e4c08ca0b283 100644 (file)
@@ -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)