ac: Use the renumbered const address space for LLVM 7.
The LLVM AMDGPU backend decided to renumber the constant address space .... Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -35,7 +35,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
AC_CONST_ADDR_SPACE = 2, /* CONST is the only address space that selects SMEM loads */
|
||||
/* CONST is the only address space that selects SMEM loads */
|
||||
AC_CONST_ADDR_SPACE = HAVE_LLVM >= 0x700 ? 4 : 2,
|
||||
AC_LOCAL_ADDR_SPACE = 3,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user