mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
R600/SI: Share code recording ShaderTypeAttribute between generations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,18 +15,15 @@
|
||||
#ifndef SIMACHINEFUNCTIONINFO_H_
|
||||
#define SIMACHINEFUNCTIONINFO_H_
|
||||
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "AMDGPUMachineFunction.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
/// This class keeps track of the SPI_SP_INPUT_ADDR config register, which
|
||||
/// tells the hardware which interpolation parameters to load.
|
||||
class SIMachineFunctionInfo : public MachineFunctionInfo {
|
||||
class SIMachineFunctionInfo : public AMDGPUMachineFunction {
|
||||
public:
|
||||
static const char *ShaderTypeAttribute;
|
||||
|
||||
SIMachineFunctionInfo(const MachineFunction &MF);
|
||||
unsigned ShaderType;
|
||||
unsigned PSInputAddr;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user