zink: scale depth bias by factor of 2
this is enough to fix CTS affects/fixes: dEQP-GLES3.functional.polygon_offset.default_render_with_units dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units dEQP-GLES3.functional.polygon_offset.fixed24_render_with_units Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16195>
This commit is contained in:
committed by
Marge Bot
parent
f3df3d4c80
commit
d0f15304a3
@@ -17,9 +17,6 @@ dEQP-GLES2.functional.rasterization.interpolation.projected.line_loop_wide,Fail
|
||||
dEQP-GLES2.functional.rasterization.interpolation.projected.line_strip_wide,Fail
|
||||
dEQP-GLES2.functional.rasterization.interpolation.projected.lines_wide,Fail
|
||||
dEQP-GLES2.functional.rasterization.primitives.line_loop_wide,Fail
|
||||
dEQP-GLES3.functional.polygon_offset.default_render_with_units,Fail
|
||||
dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units,Fail
|
||||
dEQP-GLES3.functional.polygon_offset.fixed24_render_with_units,Fail
|
||||
dEQP-GLES3.functional.rasterization.fbo.rbo_singlesample.interpolation.lines_wide,Fail
|
||||
dEQP-GLES3.functional.rasterization.fbo.texture_2d.interpolation.lines_wide,Fail
|
||||
dEQP-GLES3.functional.rasterization.interpolation.basic.line_loop_wide,Fail
|
||||
|
||||
@@ -173,7 +173,6 @@ dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth24_stencil8,Fail
|
||||
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth32f_stencil8,Fail
|
||||
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth_component24,Fail
|
||||
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth_component32f,Fail
|
||||
dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units,Fail
|
||||
dEQP-GLES3.functional.rasterization.primitives.line_loop_wide,Fail
|
||||
dEQP-GLES3.functional.rasterization.primitives.line_strip_wide,Fail
|
||||
dEQP-GLES3.functional.shaders.metamorphic.bubblesort_flag.variant_1,Fail
|
||||
|
||||
@@ -611,7 +611,7 @@ zink_create_rasterizer_state(struct pipe_context *pctx,
|
||||
state->offset_point = rs_state->offset_point;
|
||||
state->offset_line = rs_state->offset_line;
|
||||
state->offset_tri = rs_state->offset_tri;
|
||||
state->offset_units = rs_state->offset_units;
|
||||
state->offset_units = rs_state->offset_units * 2;
|
||||
state->offset_clamp = rs_state->offset_clamp;
|
||||
state->offset_scale = rs_state->offset_scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user