mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue