commit | 877bb52dc95c8504935d48fffe93b5c52bfc7e16 | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Wed Jun 25 03:12:46 2014 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Fri Jul 11 19:36:29 2014 +0200 |
tree | c87087e96cf45965262595f77b18f54051eec7c6 | |
parent | 04aa2bd724157b8d9e5748b17de10c7517e2c388 [diff] |
radeonsi: properly implement texture opcodes that take an offset Instead of using intr_name in lp_build_tgsi_action, this selects the names with a switch statement in the emit function. This allows emitting llvm.SI.sample for instructions without offsets and llvm.SI.image.sample.*.o otherwise. This depends on my LLVM changes. When LLVM 3.5 is released, I'll switch all texture instructions to the new intrinsics.