[virglrenderer-devel] [PATCH 2/2] vrend: Emit line width
Dave Airlie
airlied at gmail.com
Tue Feb 13 01:13:41 UTC 2018
From: Stéphane Marchesin <marcheu at chromium.org>
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 1a7d3c8..3274959 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)
--
2.14.3
More information about the virglrenderer-devel
mailing list