mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
r600: fix regression introduced with ring emit changes.
This was adding one after a CUT which broke end primitive
This commit is contained in:
parent
fc276bda22
commit
6bf6bdbc2b
1 changed files with 2 additions and 1 deletions
|
|
@ -8839,7 +8839,8 @@ static int tgsi_gs_emit(struct r600_shader_ctx *ctx)
|
|||
r = r600_bytecode_add_cfinst(ctx->bc, ctx->inst_info->op);
|
||||
if (!r) {
|
||||
ctx->bc->cf_last->count = stream; // Count field for CUT/EMIT_VERTEX indicates which stream
|
||||
return emit_inc_ring_offset(ctx, stream, TRUE);
|
||||
if (ctx->inst_info->op == CF_OP_EMIT_VERTEX)
|
||||
return emit_inc_ring_offset(ctx, stream, TRUE);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue