Closed Bug 2017919 Opened 6 months ago Closed 6 months ago

Incorrect caching of quad gradients in css/css-tables/tentative/paint/background-image-column.html

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

The test fails when precise linear gradients are enabled. The problem is that the cache key for quads does not differentiate between two different sub-rects of the same primitive when the sub-rects have the same size.

Currently it is possible for two sub-rects of the same primitive (or rather two primitives that are deduplicated into the same interning key) to produce the same cache key if their size is exactly the same. This happens with the wpt test css/css-tables/tentative/paint/background-image-column.html.

This patch adds the missing information to the cache key. It's a bit awkward to add it at the top level because non-quads primitives don't need it, but those are going to go away soon and it makes sense to put it next to the size.

Assignee: nobody → nical.bugzilla
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Regressions: 2020981
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: