r600/sfn: Fix Geometry shader 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:
Gert Wollny 2021-04-30 23:54:40 +02:00
parent 80efb6369a
commit efdb888b29
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ void GeometryShaderFromNir::emit_adj_fix()
{adjhelp0, m_per_vertex_offsets[i],
m_per_vertex_offsets[rotate_indices[i]]},
{alu_write});
if (i == 3)
if ((get_chip_class() == CAYMAN && i == 2) || (i == 3))
ir->set_flag(alu_last_instr);
emit_instruction(ir);
}