ac/radeonsi: pass bindless bool to load_sampler_desc()
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Feb 2018 00:08:11 +0000 (11:08 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 28 Mar 2018 01:56:16 +0000 (12:56 +1100)
commit92fa89a08d1e9905897dfb5cd30b8d572f83e941
tree2b95e8cb977ccca7886ebd78589aec73507f9653
parent5411b98d5249e6ceb79f0b9923dd142fbbce8852
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/amd/vulkan/radv_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader_nir.c