mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
r600g: don't fail if we can't map VS->GS ring entries
This can happen in normal operation, so don't report an error on it, just continue. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1371d65a7f
commit
eeead9b8ed
1 changed files with 3 additions and 4 deletions
|
|
@ -1299,10 +1299,9 @@ static int emit_gs_ring_writes(struct r600_shader_ctx *ctx)
|
|||
if (in->name == out->name && in->sid == out->sid)
|
||||
ring_offset = in->ring_offset;
|
||||
}
|
||||
if (ring_offset == -1) {
|
||||
R600_ERR("error mapping VS->GS outputs\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (ring_offset == -1)
|
||||
continue;
|
||||
} else
|
||||
ring_offset = i * 16;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue