SIDefines.h revision 256281
1//===-- SIDefines.h - SI Helper Macros ----------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8/// \file 9//===----------------------------------------------------------------------===// 10 11#ifndef SIDEFINES_H_ 12#define SIDEFINES_H_ 13 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 21 22#endif // SIDEFINES_H_ 23