aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader_internal.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-09 17:48:11 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:39 +0200
commit8d23575c9634878eff093b3656e3dcdfe66d28f2 (patch)
tree172d1bcb3adddd2e8fb66a4b1d5b449feae62605 /src/gallium/drivers/radeonsi/si_shader_internal.h
parentf37f9aed84b53b1bd7892fa4b0029407248c4fd0 (diff)
radeonsi/nir: add image descriptor loading
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.h3
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 1483ebc5db4..26d7d09fa20 100644
--- a/src/gallium/drivers/radeonsi/si_shader_internal.h
+++ b/src/gallium/drivers/radeonsi/si_shader_internal.h
@@ -317,6 +317,9 @@ void si_shader_context_init_mem(struct si_shader_context *ctx);
LLVMValueRef si_load_sampler_desc(struct si_shader_context *ctx,
LLVMValueRef list, LLVMValueRef index,
enum ac_descriptor_type type);
+LLVMValueRef si_load_image_desc(struct si_shader_context *ctx,
+ LLVMValueRef list, LLVMValueRef index,
+ enum ac_descriptor_type desc_type, bool dcc_off);
void si_llvm_load_input_vs(
struct si_shader_context *ctx,