mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
d87ab12893
commit
e8d7f6a32c
1 changed files with 0 additions and 7 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue