diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi.c b/src/gallium/auxiliary/nir/nir_to_tgsi.c index 8a48435f715..a6147252c04 100644 --- a/src/gallium/auxiliary/nir/nir_to_tgsi.c +++ b/src/gallium/auxiliary/nir/nir_to_tgsi.c @@ -2042,15 +2042,12 @@ ntt_emit_texture(struct ntt_compile *c, nir_tex_instr *instr) enum tgsi_return_type tex_type; switch (instr->dest_type) { case nir_type_float32: - case nir_type_float: tex_type = TGSI_RETURN_TYPE_FLOAT; break; case nir_type_int32: - case nir_type_int: tex_type = TGSI_RETURN_TYPE_SINT; break; case nir_type_uint32: - case nir_type_uint: tex_type = TGSI_RETURN_TYPE_UINT; break; default: