radeonsi/nir: set uses_bindless_samplers for samplers
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
5c810a2c05
commit
f94b6b79be
|
@ -56,6 +56,9 @@ static void scan_instruction(struct tgsi_shader_info *info,
|
||||||
if (!tex->texture) {
|
if (!tex->texture) {
|
||||||
info->samplers_declared |=
|
info->samplers_declared |=
|
||||||
u_bit_consecutive(tex->sampler_index, 1);
|
u_bit_consecutive(tex->sampler_index, 1);
|
||||||
|
} else {
|
||||||
|
if (tex->texture->var->data.bindless)
|
||||||
|
info->uses_bindless_samplers = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (tex->op) {
|
switch (tex->op) {
|
||||||
|
|
Loading…
Reference in New Issue