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.h | |
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.h')
-rw-r--r-- | src/gallium/drivers/radeon/SIMachineFunctionInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIMachineFunctionInfo.h b/src/gallium/drivers/radeon/SIMachineFunctionInfo.h index 46a021f3613..b60822e2e7a 100644 --- a/src/gallium/drivers/radeon/SIMachineFunctionInfo.h +++ b/src/gallium/drivers/radeon/SIMachineFunctionInfo.h @@ -28,6 +28,7 @@ class SIMachineFunctionInfo : public MachineFunctionInfo { public: SIMachineFunctionInfo(const MachineFunction &MF); unsigned spi_ps_input_addr; + unsigned ShaderType; }; |