Closed Bug 1615342 Opened 5 years ago Closed 3 years ago

Vertex attribute not found warnings at WebRender startup

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox73 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix

People

(Reporter: mikokm, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Since this warning was added in bug 1609136, I am getting the following warnings on my terminal when starting Firefox with WebRender enabled (Linux laptop).

[2020-02-13T16:38:41Z WARN  webrender::device::gl] Attribute VertexAttribute { name: "aClipTileRect", count: 4, kind: F32 } is not found in the shader cs_clip_rectangle. Expected at 4, found at -1
[2020-02-13T16:38:41Z WARN  webrender::device::gl] Attribute VertexAttribute { name: "aClipTileRect", count: 4, kind: F32 } is not found in the shader cs_clip_rectangle. Expected at 4, found at -1
[2020-02-13T16:38:41Z WARN  webrender::device::gl] Attribute VertexAttribute { name: "aClipLocalPos", count: 2, kind: F32 } is not found in the shader cs_clip_box_shadow. Expected at 3, found at -1
[2020-02-13T16:38:41Z WARN  webrender::device::gl] Attribute VertexAttribute { name: "aClipTileRect", count: 4, kind: F32 } is not found in the shader cs_clip_box_shadow. Expected at 4, found at -1
Flags: needinfo?(dmalyshau)
Priority: -- → P3

It's a soft check in debug only. We can't fully get rid of false positives here, see https://searchfox.org/mozilla-central/rev/df94cd5ba431234bc220ac081def0801fe44b89e/gfx/wr/webrender/src/device/gl.rs#1981

I don't think there is anything that should be done about this. The idea is that if you are changing the vertex attributes and you screw up, you'll at least see the new error messages, which may force you to double-check if your code is right.

Flags: needinfo?(dmalyshau)
Summary: Shader attribute warnings on startup → Vertex attribute not found warnings at WebRender startup
Has Regression Range: --- → yes
Keywords: regression

These got removed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Resolution: FIXED → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.