diff options
author | Tom Stellard <[email protected]> | 2012-09-07 09:11:59 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-09-11 14:53:47 -0400 |
commit | dfd3d61abfc8b2dc7300636ed5308f0a83953017 (patch) | |
tree | 0302ddd1955be5d0a2e9374927152199e79379ca /src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp | |
parent | 841c1b5f5423d7994ff0f6773639934d75bd1fca (diff) |
radeon/llvm: Add SHADER_TYPE instruction
This allows the program to specify the type of shader being compiled
(e.g. PXEL, VERTEX, etc.)
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp b/src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp index 40ba76f1f86..f1a8c1f6e1b 100644 --- a/src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp +++ b/src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp @@ -14,5 +14,6 @@ using namespace llvm; SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) : MachineFunctionInfo(), - spi_ps_input_addr(0) + spi_ps_input_addr(0), + ShaderType(0) { } |