Skip to content

test(rendering): leave out blurred card border band on WARP in plain pipeline check - #4965

Merged
richiemcilroy merged 1 commit into
mainfrom
test/downscale-warp-border-band
Dec 5, 2026
Merged

richiemcilroy merged 1 commit into
mainfrom
test/downscale-warp-border-band

Conversation

@richiemcilroy

@richiemcilroy richiemcilroy commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

On the Windows software renderer, the plain vs full pipeline check in downscale_filter now leaves out pixels within 3 px of a motion-blurred card's border and checks every other pixel exactly. Each left-out case prints its pixel count. Every other case, adapter and platform is checked as before. The shader behaviour behind it is fixed separately in #4964.

Testing

windows-2022 (WARP), base (main) and head binaries run alternately in the same job:

  • Stock test: base failed 3 of 131 runs, head 0 of 131 (run 1, run 2).
  • Amplified (run): 119,040 extra full-pipeline draws of every blurred case compared with the plain draw. 104 differed under the old exact check, all at one pixel 1.35 px inside the card edge (styled, ratio 2.5). 0 differed outside the left-out band.
  • Deliberate regressions still fail the test on WARP at a pixel outside the band: a plain shader change on blurred bordered draws (job) and a one-level change at the frame centre (job).

macOS (Blacksmith): head and base each pass 5 of 5 and no pixels are left out (job).

Pixels left out per draw on WARP, styled with motion blur only (68 of the 558 compared draws). The rest are compared in full.

Ratio Frame Draws Left out Share of frame
0.45 978x489 8 23,043 4.82%
0.8 550x275 8 12,776 8.45%
1.0 440x220 8 10,136 10.47%
1.03 428x214 8 9,827 10.73%
1.5 294x147 8 6,614 15.30%
2.0 220x110 4 4,856 20.07%
2.17 203x102 4 4,442 21.45%
2.18 202x101 4 4,420 21.66%
2.2 200x100 4 4,376 21.88%
2.21 200x100 4 4,352 21.76%
2.5 176x88 4 3,800 24.54%
3.3 134x67 4 2,774 30.90%

Total 615,248 pixels: 8.31% of those 68 frames and 1.09% of the 56,475,576 pixels the test compares. The maximum is 30.90% of a frame (134x67).

Confidence Score: 5/5RetriggerView in Greptile

This test-only change appears safe to merge.

Summary

This PR narrows a rendering-test exception to blurred, bordered cards on Windows software adapters.

  • The pixel check skips only the card-edge band on Windows software rendering.

Reviews (4) · Last reviewed commit: "test(rendering): leave out blurred card ..." · Reviewed by Greptile

@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Ignored Ignored Preview Dec 5, 2026 9:03pm UTC

@richiemcilroy

Copy link
Copy Markdown
Member Author

hey @greptileai, please re-review the PR

@richiemcilroy
richiemcilroy marked this pull request as ready for review December 5, 2026 23:34
@sandchest-com

sandchest-com Bot commented Dec 5, 2026

Copy link
Copy Markdown

Sandchest

Sandchest reviewed eb1f688: nothing exploitable found in this change.

Sandchest reviews every change for vulnerabilities an attacker could use · Review details

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

Open in Capy

@richiemcilroy
richiemcilroy merged commit 9b1830d into main Dec 5, 2026
103 of 104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant