mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
r600/sfn: Fix texture gather for Cayman
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10608>
This commit is contained in:
parent
2d8b27507d
commit
9898bc2915
1 changed files with 2 additions and 1 deletions
|
|
@ -422,7 +422,8 @@ bool EmitTexInstruction::emit_tex_tg4(nir_tex_instr* instr, TexInputs& src)
|
|||
auto irt = new TexInstruction(tex_op, dst, src.coord, sampler.id,
|
||||
sampler.id + R600_MAX_CONST_BUFFERS, src.sampler_offset);
|
||||
|
||||
irt->set_dest_swizzle({1,2,0,3});
|
||||
if (get_chip_class() != CAYMAN)
|
||||
irt->set_dest_swizzle({1,2,0,3});
|
||||
irt->set_gather_comp(instr->component);
|
||||
|
||||
if (instr->is_array)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue