summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-20 11:08:11 +1100
committerTimothy Arceri <[email protected]>2018-03-28 12:56:16 +1100
commit92fa89a08d1e9905897dfb5cd30b8d572f83e941 (patch)
tree2b95e8cb977ccca7886ebd78589aec73507f9653 /src/amd/common/ac_shader_abi.h
parent5411b98d5249e6ceb79f0b9923dd142fbbce8852 (diff)
ac/radeonsi: pass bindless bool to load_sampler_desc()
We also fix the base_index for bindless by using the driver location. Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r--src/amd/common/ac_shader_abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h
index 0737d697ffa..2f222cf8d61 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -157,7 +157,8 @@ struct ac_shader_abi {
unsigned constant_index,
LLVMValueRef index,
enum ac_descriptor_type desc_type,
- bool image, bool write);
+ bool image, bool write,
+ bool bindless);
/**
* Load a Vulkan-specific resource.