19a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard//===-- SIDefines.h - SI Helper Macros ----------------------*- C++ -*-===// 29a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// 39a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// The LLVM Compiler Infrastructure 49a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// 59a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// This file is distributed under the University of Illinois Open Source 69a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// License. See LICENSE.TXT for details. 79a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard// 89a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard/// \file 99a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard//===----------------------------------------------------------------------===// 109a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard 119a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#ifndef SIDEFINES_H_ 129a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define SIDEFINES_H_ 139a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard 149a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define R_00B028_SPI_SHADER_PGM_RSRC1_PS 0x00B028 15a3e39dc7055486cbf514ccd868cfabc69d7f6f4eMichel Danzer#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS 0x00B02C 16a3e39dc7055486cbf514ccd868cfabc69d7f6f4eMichel Danzer#define S_00B02C_EXTRA_LDS_SIZE(x) (((x) & 0xFF) << 8) 179a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define R_00B128_SPI_SHADER_PGM_RSRC1_VS 0x00B128 189a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define R_00B228_SPI_SHADER_PGM_RSRC1_GS 0x00B228 199a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define R_00B848_COMPUTE_PGM_RSRC1 0x00B848 209a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define S_00B028_VGPRS(x) (((x) & 0x3F) << 0) 219a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define S_00B028_SGPRS(x) (((x) & 0x0F) << 6) 22a3e39dc7055486cbf514ccd868cfabc69d7f6f4eMichel Danzer#define R_00B84C_COMPUTE_PGM_RSRC2 0x00B84C 23a3e39dc7055486cbf514ccd868cfabc69d7f6f4eMichel Danzer#define S_00B84C_LDS_SIZE(x) (((x) & 0x1FF) << 15) 249a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#define R_0286CC_SPI_PS_INPUT_ENA 0x0286CC 259a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard 269a256300f8f61937f5f7a148b9cb09936d103a97Tom Stellard#endif // SIDEFINES_H_ 27