[virglrenderer-devel] [PATCH 2/2] vrend: Emit line width
Jakob Bornecrantz
jakob.bornecrantz at collabora.com
Mon Feb 12 10:49:29 UTC 2018
On 2018-02-10 01:20, Stéphane Marchesin wrote:
> Now that we have the proper line width limitations, we can emit the
> actual line width. This fixes:
> dEQP-GLES2.functional.clipping.line.wide_line* tests.
>
> Signed-off-by: Stéphane Marchesin <marcheu at chromium.org>
> ---
> src/vrend_renderer.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
> index 6ef6cff..683af19 100644
> --- a/src/vrend_renderer.c
> +++ b/src/vrend_renderer.c
> @@ -3427,6 +3427,8 @@ static void vrend_hw_emit_rs(struct vrend_context *ctx)
> }
> }
>
> + glLineWidth(state->line_width);
> +
> if (state->rasterizer_discard != ctx->sub->hw_rs_state.rasterizer_discard) {
> ctx->sub->hw_rs_state.rasterizer_discard = state->rasterizer_discard;
> if (state->rasterizer_discard)
>
Reviewed-by: Jakob Bornecrantz <jakob.bornecrantz at collabora.com>
More information about the virglrenderer-devel
mailing list