summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_public.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-06-25 03:12:46 +0200
committerMarek Olšák <[email protected]>2014-07-11 19:36:29 +0200
commit877bb52dc95c8504935d48fffe93b5c52bfc7e16 (patch)
treec87087e96cf45965262595f77b18f54051eec7c6 /src/gallium/drivers/radeonsi/si_public.h
parent04aa2bd724157b8d9e5748b17de10c7517e2c388 (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.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_public.h')
0 files changed, 0 insertions, 0 deletions