Home | History | Annotate | Download | only in R600
      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_00B02C_SPI_SHADER_PGM_RSRC2_PS                                0x00B02C
     16 #define   S_00B02C_EXTRA_LDS_SIZE(x)                                  (((x) & 0xFF) << 8)
     17 #define R_00B128_SPI_SHADER_PGM_RSRC1_VS                                0x00B128
     18 #define R_00B228_SPI_SHADER_PGM_RSRC1_GS                                0x00B228
     19 #define R_00B848_COMPUTE_PGM_RSRC1                                      0x00B848
     20 #define   S_00B028_VGPRS(x)                                           (((x) & 0x3F) << 0)
     21 #define   S_00B028_SGPRS(x)                                           (((x) & 0x0F) << 6)
     22 #define R_00B84C_COMPUTE_PGM_RSRC2                                      0x00B84C
     23 #define   S_00B84C_LDS_SIZE(x)                                        (((x) & 0x1FF) << 15)
     24 #define R_0286CC_SPI_PS_INPUT_ENA                                       0x0286CC
     25 
     26 #endif // SIDEFINES_H_
     27