vrend: Emit line width

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.

Reviewed-by: Jakob Bornecrantz <jakob.bornecrantz@collabora.com>
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
macos/master
Stéphane Marchesin 7 years ago committed by Dave Airlie
parent 4977d1fa02
commit 35ee63a688
  1. 2
      src/vrend_renderer.c

@ -3458,6 +3458,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)

Loading…
Cancel
Save