This wasn't ported over when deref support was implemented.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
deref_instr = nir_src_as_deref(deref_instr->parent);
}
descriptor_set = deref_instr->var->data.descriptor_set;
- base_index = deref_instr->var->data.binding;
+
+ if (deref_instr->var->data.bindless) {
+ base_index = deref_instr->var->data.driver_location;
+ bindless = true;
+ } else
+ base_index = deref_instr->var->data.binding;
}
return ctx->abi->load_sampler_desc(ctx->abi,