diff options
author | Dave Airlie <[email protected]> | 2018-02-05 13:09:57 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-02-07 06:08:12 +1000 |
commit | f292eceae1d3bc0462d626d6857dbf51c48fbc92 (patch) | |
tree | dc89514bad6e734049075c29d06ae060d89b392a /src | |
parent | 680cb9898a611fa04cf4be91cd014862beb6e004 (diff) |
r600: fix xfb stream check.
This fixes:
KHR-GL45.enhanced_layouts.xfb_vertex_streams
Reviewed-by: Roland Scheidegger <[email protected]>
Cc: <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index d14514574e2..a9e405f76d6 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -2213,7 +2213,7 @@ static int emit_streamout(struct r600_shader_ctx *ctx, struct pipe_stream_output for (i = 0; i < so->num_outputs; i++) { struct r600_bytecode_output output; - if (stream != -1 && stream != so->output[i].output_buffer) + if (stream != -1 && stream != so->output[i].stream) continue; memset(&output, 0, sizeof(struct r600_bytecode_output)); |