mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
9ddacd9af4
commit
7461bd5b8f
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue