diff options
author | Brian Paul <[email protected]> | 2017-07-05 20:08:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-07-07 12:04:17 -0600 |
commit | 5b8d33acefa9adbf1f0c9ff10f1933a0b3a5c66b (patch) | |
tree | 0f1b61b21bf29866b16856cc68c4acf00d179746 | |
parent | 5d8514de14bd27170293bb373e06f5ff43c708ad (diff) |
svga: adjust line subpixel position for HWv8
This fixes two regressions on HWv8:
Piglit gl-1.0-ortho-pos
Piglit/glean fbo
This was caused by commit c2b92dada076a "svga: clamp device line width
to at least 1 to fix HWv8 line stippling"
This also fixes two conform tests: Vertex Order and Polygon Face
No Piglit/conform changes with HWv9 or later.
VMware bug 1905053
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_state_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state_framebuffer.c b/src/gallium/drivers/svga/svga_state_framebuffer.c index bb92c54ff3f..c52b7eeebf7 100644 --- a/src/gallium/drivers/svga/svga_state_framebuffer.c +++ b/src/gallium/drivers/svga/svga_state_framebuffer.c @@ -561,7 +561,7 @@ emit_viewport( struct svga_context *svga, break; case PIPE_PRIM_LINES: adjust_x = -0.5; - adjust_y = 0; + adjust_y = -0.125; break; case PIPE_PRIM_TRIANGLES: adjust_x = -0.5; |