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/gallium/drivers | |
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/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 2245b39fe0a..994fee0b02c 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -784,7 +784,7 @@ si_nir_load_sampler_desc(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, unsigned constant_index, LLVMValueRef dynamic_index, enum ac_descriptor_type desc_type, bool image, - bool write) + bool write, bool bindless) { struct si_shader_context *ctx = si_shader_context_from_abi(abi); LLVMBuilderRef builder = ctx->ac.builder; |