mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 20:20:38 +02:00
freedreno/ir3: enable half precision for pre-fs texture fetch
Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
407f8c71d3
commit
02f4c39b8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue