summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstructions.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-25 10:50:35 -0400
committerTom Stellard <[email protected]>2012-05-25 15:40:58 -0400
commitd784bc77405012b442ae9d68f200e9d115030b3c (patch)
tree7d8b857f99d40f7e26e7f597385c53a6f7c227ee /src/gallium/drivers/radeon/SIInstructions.td
parent17f852892346fdf3b1e9eec56b7a55c470279bc8 (diff)
radeon/llvm: Use a custom inserter to lower CLAMP
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstructions.td')
-rw-r--r--src/gallium/drivers/radeon/SIInstructions.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index 87034684f0b..b6097ef1eeb 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -907,6 +907,7 @@ def : Pat <
(S_LOAD_DWORDX4_IMM imm:$sampler_offset, SReg_64:$sampler)) /* Sampler */
>;
+def CLAMP_SI : CLAMP<VReg_32>;
def FABS_SI : FABS<VReg_32>;
def : Extract_Element <f32, v4f32, VReg_128, 0, sel_x>;