aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_encode.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-12-21 16:59:58 +1000
committerDave Airlie <[email protected]>2018-05-15 14:56:57 +1000
commit9585e702065d9c2db57ab32f53a42d1ceafdb4a3 (patch)
treee94432ee8b5731a0a3b0fdacbfcb12895a4ed217 /src/gallium/drivers/virgl/virgl_encode.c
parentb691d9192c436aba5a76577b7d772a791283a2e2 (diff)
virgl: enable vertex streams when glsl level is high enough.
This enabled the vertex streams out when the host supports GL4.0.
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.c b/src/gallium/drivers/virgl/virgl_encode.c
index a6f6d13f852..f3cbd1ca4b0 100644
--- a/src/gallium/drivers/virgl/virgl_encode.c
+++ b/src/gallium/drivers/virgl/virgl_encode.c
@@ -232,7 +232,7 @@ static void virgl_emit_shader_streamout(struct virgl_context *ctx,
VIRGL_OBJ_SHADER_SO_OUTPUT_BUFFER(so_info->output[i].output_buffer) |
VIRGL_OBJ_SHADER_SO_OUTPUT_DST_OFFSET(so_info->output[i].dst_offset);
virgl_encoder_write_dword(ctx->cbuf, tmp);
- virgl_encoder_write_dword(ctx->cbuf, 0);
+ virgl_encoder_write_dword(ctx->cbuf, so_info->output[i].stream);
}
}
}