[virglrenderer-devel] [PATCH 2/2] vrend: Emit line width
Stéphane Marchesin
marcheu at chromium.org
Sat Feb 10 01:20:55 UTC 2018
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)
--
2.16.0.rc1.238.g530d649a79-goog
More information about the virglrenderer-devel
mailing list