Skip to content

chore: cherry-pick fbfb27470bf6 from chromium#50438

Merged
VerteDinde merged 8 commits into40-x-yfrom
cherry-pick/40-x-y/chromium/fbfb27470bf6
Mar 25, 2026
Merged

chore: cherry-pick fbfb27470bf6 from chromium#50438
VerteDinde merged 8 commits into40-x-yfrom
cherry-pick/40-x-y/chromium/fbfb27470bf6

Conversation

@VerteDinde
Copy link
Copy Markdown
Member

Validate uniform block count limits at compile time on IMG.

Normally these limits are validated at link time but the IMG compiler
has issues when these limits are exceeded. Validate at compile time
instead.

Bug: chromium:475877320
Change-Id: Ieeed6914b8cdd2b5e50242d06facae62badddefd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7568129
Auto-Submit: Geoff Lang geofflang@chromium.org
Reviewed-by: Kyle Charbonneau kylechar@chromium.org
Commit-Queue: Kyle Charbonneau kylechar@chromium.org
Cr-Commit-Position: refs/heads/main@{#1586673}

Notes: Backported fix for chromium:475877320.

@VerteDinde VerteDinde requested a review from a team as a code owner March 23, 2026 22:22
@VerteDinde VerteDinde added semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 40-x-y labels Mar 23, 2026
@VerteDinde VerteDinde force-pushed the cherry-pick/40-x-y/chromium/fbfb27470bf6 branch 2 times, most recently from 526607c to c35e4a1 Compare March 24, 2026 22:32
VerteDinde and others added 4 commits March 24, 2026 17:03
… patch

The angle cherry-pick added MaxGeometryUniformBlocks in new locations,
but it already existed in the EXT_geometry_shader section on 40-x-y,
causing a duplicate struct member build error in ShaderLang.h.

Re-exported the patch from the angle repo to correctly generate context
lines instead of additions for fields that already exist in the base.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@VerteDinde VerteDinde force-pushed the cherry-pick/40-x-y/chromium/fbfb27470bf6 branch from c35e4a1 to 725761e Compare March 25, 2026 00:03
VerteDinde and others added 4 commits March 24, 2026 17:25
The angle cherry-pick patch that adds this field to ShCompileOptions
may not be applied in CI due to the angle repo not being found during
patch application. Guard the usage with a version check so compilation
succeeds regardless of angle patch application order.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The angle entry was missing from patches/config.json on 40-x-y, which
meant angle patches were never applied during gclient sync or CI builds.
This caused the chromium cherry-pick to fail with "no member named
'validatePerStageMaxUniformBlocks' in 'ShCompileOptions'".

Also re-exports the angle patches against the M144 base, resolving
conflicts from the M142-targeted patches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@VerteDinde VerteDinde merged commit e1c17fd into 40-x-y Mar 25, 2026
102 of 105 checks passed
@VerteDinde VerteDinde deleted the cherry-pick/40-x-y/chromium/fbfb27470bf6 branch March 25, 2026 17:27
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Mar 25, 2026

Release Notes Persisted

Backported fix for chromium:475877320.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

40-x-y backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants