diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-24 20:08:30 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-07-31 14:55:41 +0200 |
commit | d46018a4d792dbe0c1ba6a74cbd386e378dc6067 (patch) | |
tree | 805391c8603c97550178db0ae4d3f1146d625960 /src/gallium/drivers/radeonsi/si_shader_internal.h | |
parent | b78eae6f2a65cf1f755d0fb6cd7ae638c08f9712 (diff) |
radeonsi: make get_indirect_index globally visible
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_internal.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h index 26d7d09fa20..808996adf5c 100644 --- a/src/gallium/drivers/radeonsi/si_shader_internal.h +++ b/src/gallium/drivers/radeonsi/si_shader_internal.h @@ -305,6 +305,9 @@ void si_llvm_emit_store(struct lp_build_tgsi_context *bld_base, void si_emit_waitcnt(struct si_shader_context *ctx, unsigned simm16); +LLVMValueRef si_get_indirect_index(struct si_shader_context *ctx, + const struct tgsi_ind_register *ind, + int rel_index); LLVMValueRef si_get_bounded_indirect_index(struct si_shader_context *ctx, const struct tgsi_ind_register *ind, int rel_index, unsigned num); |