diff --git a/runtime/tests/test_wide_overlay_band_scissor.py b/runtime/tests/test_wide_overlay_band_scissor.py index dece81ac..70a848dd 100644 --- a/runtime/tests/test_wide_overlay_band_scissor.py +++ b/runtime/tests/test_wide_overlay_band_scissor.py @@ -23,6 +23,8 @@ def body(text, signature): gl = (src / "gpu_gl_renderer.c").read_text(encoding="utf-8") band = body(gl, "static void wide_band_scissor_x(int x, int w) {") assert "static void wide_band_scissor(void) { wide_band_scissor_x(0, g_wide_w); }" in gl, "GL band scissor does not cover the full wide width" +if "wide_band_rows(" in band: # the rows are shared with the stencil rebuild + band = body(gl, "static void wide_band_rows(") assert "s_area_y1" in band and "s_area_y2" in band, "GL band scissor ignores the draw area" flat = body(gl, "static void wide_flat_rect_direct(") assert "wide_band_scissor();" in flat, "GL overlay pass does not use the band scissor"