radeon/llvm: Add SHADER_TYPE instruction
authorTom Stellard <thomas.stellard@amd.com>
Fri, 7 Sep 2012 13:11:59 +0000 (09:11 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 11 Sep 2012 18:53:47 +0000 (14:53 -0400)
commitdfd3d61abfc8b2dc7300636ed5308f0a83953017
tree0302ddd1955be5d0a2e9374927152199e79379ca
parent841c1b5f5423d7994ff0f6773639934d75bd1fca
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 <michel.daenzer@amd.com>
src/gallium/drivers/radeon/AMDGPU.h
src/gallium/drivers/radeon/AMDGPUInstructions.td
src/gallium/drivers/radeon/AMDGPUIntrinsics.td
src/gallium/drivers/radeon/R600ISelLowering.cpp
src/gallium/drivers/radeon/SIAssignInterpRegs.cpp
src/gallium/drivers/radeon/SIISelLowering.cpp
src/gallium/drivers/radeon/SIMachineFunctionInfo.cpp
src/gallium/drivers/radeon/SIMachineFunctionInfo.h