Browse Source

freedreno/ir3: enable half precision for pre-fs texture fetch

Reviewed-by: Rob Clark <robdclark@gmail.com>
master
Hyunjun Ko 6 years ago
parent
commit
02f4c39b8d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedreno/ir3/ir3_compiler_nir.c

+ 1
- 1
src/freedreno/ir3/ir3_compiler_nir.c View File

@@ -3203,7 +3203,7 @@ collect_tex_prefetches(struct ir3_context *ctx, struct ir3 *ir)
MAX2(ctx->so->total_in, instr->prefetch.input_offset + 2);

/* Disable half precision until supported. */
fetch->half_precision = 0x0;
fetch->half_precision = !!(instr->regs[0]->flags & IR3_REG_HALF);

/* Remove the prefetch placeholder instruction: */
list_delinit(&instr->node);

Loading…
Cancel
Save