mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
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 c2b92dada0 "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 <charmainel@vmware.com>
This commit is contained in:
parent
5d8514de14
commit
5b8d33acef
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue