diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-05-06 23:02:12 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-05-06 23:02:12 +0000 |
commit | 651a4c8ee08ccbf59e1a677abc3a2424e50b4c2c (patch) | |
tree | 3fd137ff3eb08c70a0b4bcb5fffc4527c785198f /lib/Target/R600/SIIntrinsics.td | |
parent | e756ffd8883c8950a16a781e97e85de5dcbb22a7 (diff) | |
download | llvm-651a4c8ee08ccbf59e1a677abc3a2424e50b4c2c.tar.gz llvm-651a4c8ee08ccbf59e1a677abc3a2424e50b4c2c.tar.bz2 llvm-651a4c8ee08ccbf59e1a677abc3a2424e50b4c2c.tar.xz |
R600/SI: Add intrinsic for texture image loading
Patch by: Michel Dänzer
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIIntrinsics.td')
-rw-r--r-- | lib/Target/R600/SIIntrinsics.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/SIIntrinsics.td b/lib/Target/R600/SIIntrinsics.td index 16d9d812af..c2fb8843af 100644 --- a/lib/Target/R600/SIIntrinsics.td +++ b/lib/Target/R600/SIIntrinsics.td @@ -25,6 +25,8 @@ let TargetPrefix = "SI", isTarget = 1 in { def int_SI_sampleb : Sample; def int_SI_samplel : Sample; + def int_SI_imageload : Intrinsic <[llvm_v4i32_ty], [llvm_anyvector_ty, llvm_v32i8_ty, llvm_i32_ty], [IntrNoMem]>; + /* Interpolation Intrinsics */ def int_SI_fs_constant : Intrinsic <[llvm_float_ty], [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>; |