1 //===-- SIDefines.h - SI Helper Macros ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
14 #define R_00B028_SPI_SHADER_PGM_RSRC1_PS 0x00B028
15 #define R_00B128_SPI_SHADER_PGM_RSRC1_VS 0x00B128
16 #define R_00B228_SPI_SHADER_PGM_RSRC1_GS 0x00B228
17 #define R_00B848_COMPUTE_PGM_RSRC1 0x00B848
18 #define S_00B028_VGPRS(x) (((x) & 0x3F) << 0)
19 #define S_00B028_SGPRS(x) (((x) & 0x0F) << 6)
20 #define R_0286CC_SPI_PS_INPUT_ENA 0x0286CC
22 #endif // SIDEFINES_H_