summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_llvm.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-03-03 15:11:27 +0100
committerMarek Olšák <[email protected]>2015-07-23 00:59:31 +0200
commit1bc0fba572363f5460be7343cff8b8b7a315d755 (patch)
tree6c3aeef2015b4c6d1c0d6efa7d5ae384b0f92b47 /src/gallium/drivers/radeon/radeon_llvm.h
parenta3be59b4a91e25d47535f192194ff669cfe2ef6e (diff)
gallium/radeon: expose emit_fetch
Radeonsi will use this.
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm.h')
-rw-r--r--src/gallium/drivers/radeon/radeon_llvm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm.h b/src/gallium/drivers/radeon/radeon_llvm.h
index c50eb6914be..ef09ead9774 100644
--- a/src/gallium/drivers/radeon/radeon_llvm.h
+++ b/src/gallium/drivers/radeon/radeon_llvm.h
@@ -215,6 +215,11 @@ radeon_llvm_emit_fetch_double(struct lp_build_tgsi_context *bld_base,
LLVMValueRef radeon_llvm_saturate(struct lp_build_tgsi_context *bld_base,
LLVMValueRef value);
+LLVMValueRef radeon_llvm_emit_fetch(struct lp_build_tgsi_context *bld_base,
+ const struct tgsi_full_src_register *reg,
+ enum tgsi_opcode_type type,
+ unsigned swizzle);
+
void radeon_llvm_emit_store(
struct lp_build_tgsi_context * bld_base,
const struct tgsi_full_instruction * inst,