diff options
author | Timothy Arceri <[email protected]> | 2018-02-20 11:08:11 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-03-28 12:56:16 +1100 |
commit | 92fa89a08d1e9905897dfb5cd30b8d572f83e941 (patch) | |
tree | 2b95e8cb977ccca7886ebd78589aec73507f9653 /src/amd/vulkan | |
parent | 5411b98d5249e6ceb79f0b9923dd142fbbce8852 (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/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index c8d383e021d..23b58c37b23 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -1699,7 +1699,8 @@ static LLVMValueRef radv_get_sampler_desc(struct ac_shader_abi *abi, unsigned constant_index, LLVMValueRef index, enum ac_descriptor_type desc_type, - bool image, bool write) + bool image, bool write, + bool bindless) { struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); LLVMValueRef list = ctx->descriptor_sets[descriptor_set]; |