mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
r600: fix xfb stream check.
This fixes:
KHR-GL45.enhanced_layouts.xfb_vertex_streams
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit f292eceae1)
This commit is contained in:
parent
095e42882c
commit
7325939b66
1 changed files with 1 additions and 1 deletions
|
|
@ -2042,7 +2042,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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue