r300: enable guardband for draw

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37977>
This commit is contained in:
Pavel Ondračka
2025-10-21 17:18:25 +02:00
committed by Marge Bot
parent 0d4aa5f55f
commit 18331bf89d
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,3 @@
dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_center,Fail
dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_corner,Fail
dEQP-GLES2.functional.clipping.point.point_clip_viewport_center,Fail
dEQP-GLES2.functional.clipping.point.point_clip_viewport_corner,Fail
dEQP-GLES2.functional.clipping.point.point_z_clip,Fail

View File

@@ -406,6 +406,11 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
draw_wide_point_sprites(r300->draw, false);
draw_enable_line_stipple(r300->draw, true);
draw_enable_point_sprites(r300->draw, false);
draw_set_driver_clipping(r300->draw,
false, /* bypass_clip_xy */
false, /* bypass_clip_z */
true, /* guard_band_xy */
false); /* bypass_clip_points_lines */
}
if (!r300_setup_atoms(r300))