st/glsl_to_nir: set driver location for bindless images and samplers
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
f94b6b79be
commit
5411b98d52
|
@ -271,7 +271,8 @@ st_nir_assign_uniform_locations(struct gl_context *ctx,
|
|||
uniform->interface_type != NULL)
|
||||
continue;
|
||||
|
||||
if (uniform->type->is_sampler() || uniform->type->is_image()) {
|
||||
if (!uniform->data.bindless &&
|
||||
(uniform->type->is_sampler() || uniform->type->is_image())) {
|
||||
if (uniform->type->is_sampler())
|
||||
loc = shaderidx++;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue