mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
r600/sfn: Add GS thread fix just like the TGSI code path
The old code does the same for R600.
Fixes: 33765aa92a
r600/sfn: Enable NIR for pre RG hardware
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18130>
This commit is contained in:
parent
00599f6e71
commit
34b9e3e44c
1 changed files with 9 additions and 0 deletions
|
|
@ -179,6 +179,15 @@ int GeometryShader::do_allocate_reserved_registers()
|
|||
|
||||
m_ring_item_sizes[0] = m_next_input_ring_offset;
|
||||
|
||||
|
||||
/* GS thread with no output workaround - emit a cut at start of GS */
|
||||
if (chip_class() == ISA_CC_R600) {
|
||||
emit_instruction(new EmitVertexInstr(0, true));
|
||||
start_new_block(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (m_tri_strip_adj_fix)
|
||||
emit_adj_fix();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue