Closed Bug 1676406 Opened 4 years ago Closed 4 years ago

Failed to link shader program: brush_blend Could not pack varying vFuncs

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

I get this when running WebRender on my Intel gen5 hardware.

GetMaximumVertexOutputVectors() will return 14 on 10.0 hardware vs 30 on 10.1 because of the difference in D3D10_VS_OUTPUT_REGISTER_COUNT (16) vs D3D10_1_VS_OUTPUT_REGISTER_COUNT (32)

It looks like we might be able to check this at build time using sh::CheckVariablesWithinPackingLimits

On 10.0 level hardware we only have 14 vecs of varyings allowed.
Reusing v_color_offset for v_flood_color gets us under the limit.

Assignee: nobody → jmuizelaar
Status: NEW → ASSIGNED
Blocks: 1676479
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6c92a0ad387f Reduce the number of varyings in brush_blend. r=kvark
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: