zink: delete some now-broken ntv dref sampling code

depth splatting should be handled now by the match_tex_dests() pass

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21336>
This commit is contained in:
Mike Blumenkrantz 2023-02-15 07:18:43 -05:00 committed by Marge Bot
parent d87ab12893
commit e8d7f6a32c

View file

@ -3887,13 +3887,6 @@ emit_tex(struct ntv_context *ctx, nir_tex_instr *tex)
if (tex->is_sparse)
result = extract_sparse_load(ctx, result, actual_dest_type, &tex->dest.ssa);
if (dref && nir_dest_num_components(tex->dest) > 1 && tex->op != nir_texop_tg4) {
SpvId components[4] = { result, result, result, result };
result = spirv_builder_emit_composite_construct(&ctx->builder,
dest_type,
components,
4);
}
if (nir_dest_bit_size(tex->dest) != 32) {
/* convert FP32 to FP16 */