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>
This commit is contained in:
Timothy Arceri
2018-02-20 11:08:11 +11:00
parent 5411b98d52
commit 92fa89a08d
4 changed files with 14 additions and 5 deletions

View File

@@ -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.