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:
@@ -248,7 +248,7 @@ void GeometryShaderFromNir::emit_adj_fix()
|
|||||||
{adjhelp0, m_per_vertex_offsets[i],
|
{adjhelp0, m_per_vertex_offsets[i],
|
||||||
m_per_vertex_offsets[rotate_indices[i]]},
|
m_per_vertex_offsets[rotate_indices[i]]},
|
||||||
{alu_write});
|
{alu_write});
|
||||||
if (i == 3)
|
if ((get_chip_class() == CAYMAN && i == 2) || (i == 3))
|
||||||
ir->set_flag(alu_last_instr);
|
ir->set_flag(alu_last_instr);
|
||||||
emit_instruction(ir);
|
emit_instruction(ir);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user