summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r600/r600_shader.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 56067246874..73b290979fb 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -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;