summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-01-29 04:08:43 +0000
committerDave Airlie <[email protected]>2014-02-05 10:49:37 +1000
commiteeead9b8ed77804f228bd9ba434e26b5c12d73ed (patch)
treef8a85f8f6ebcfd0be51df447e6b9a421dc3bd25c /src/gallium
parent1371d65a7fbd695d3516861fe733685569d890d0 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-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;