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:
Dave Airlie 2014-01-29 04:08:43 +00:00
parent 1371d65a7f
commit eeead9b8ed

View file

@ -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;