diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi_info.c b/src/gallium/auxiliary/nir/nir_to_tgsi_info.c index 5a1a9b27022..6197a9d1d19 100644 --- a/src/gallium/auxiliary/nir/nir_to_tgsi_info.c +++ b/src/gallium/auxiliary/nir/nir_to_tgsi_info.c @@ -203,9 +203,6 @@ static void scan_instruction(const struct nir_shader *nir, info->uses_primid = 1; break; case nir_intrinsic_bindless_image_store: - if (nir_intrinsic_image_dim(intr) != GLSL_SAMPLER_DIM_BUF) - info->uses_bindless_image_store = true; - info->writes_memory = true; break; case nir_intrinsic_image_deref_store: diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index ba851035369..98ea3c94fb7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -270,12 +270,6 @@ scan_instruction(struct tgsi_shader_info *info, info->uses_bindless_image_atomic = true; } break; - case TGSI_OPCODE_STORE: - if (tgsi_is_bindless_image_file(fullinst->Dst[0].Register.File)) { - if (fullinst->Memory.Texture != TGSI_TEXTURE_BUFFER) - info->uses_bindless_image_store = true; - } - break; case TGSI_OPCODE_FBFETCH: info->uses_fbfetch = true; break; diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index efc68f8a5f1..43b8a6e0d54 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -119,7 +119,6 @@ struct tgsi_shader_info unsigned shader_buffers_load; /**< bitmask of shader buffers using loads */ unsigned shader_buffers_store; /**< bitmask of shader buffers using stores */ unsigned shader_buffers_atomic; /**< bitmask of shader buffers using atomics */ - bool uses_bindless_image_store; bool uses_bindless_image_atomic; unsigned hw_atomic_declared; /**< bitmask of declared atomic_counter */