mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
i965/fs: support doubles with shared variable loads
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
6eab06b866
commit
8aa01ac596
1 changed files with 2 additions and 8 deletions
|
|
@ -3108,14 +3108,8 @@ fs_visitor::nir_emit_cs_intrinsic(const fs_builder &bld,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read the vector */
|
/* Read the vector */
|
||||||
fs_reg read_result = emit_untyped_read(bld, surf_index, offset_reg,
|
do_untyped_vector_read(bld, dest, surf_index, offset_reg,
|
||||||
1 /* dims */,
|
instr->num_components);
|
||||||
instr->num_components,
|
|
||||||
BRW_PREDICATE_NONE);
|
|
||||||
read_result.type = dest.type;
|
|
||||||
for (int i = 0; i < instr->num_components; i++)
|
|
||||||
bld.MOV(offset(dest, bld, i), offset(read_result, bld, i));
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue