Bug 228996 - Cherry-pick ANGLE: Disable SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS workaround
Summary: Cherry-pick ANGLE: Disable SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS workaround
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on: 223316
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-11 04:49 PDT by Kimmo Kinnunen
Modified: 2021-12-21 03:30 PST (History)
6 users (show)

See Also:


Attachments
Patch (3.08 KB, patch)
2021-08-11 04:53 PDT, Kimmo Kinnunen
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-08-11 04:49:03 PDT
From 572afd90bd6b1d0ff43553250a361d6ff93be36f Mon Sep 17 00:00:00 2001
From: Kenneth Russell <kbr@chromium.org>
Date: Fri, 29 Jan 2021 22:45:29 -0800
Subject: [PATCH] Disable SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS workaround.

It causes incorrect compilation of some shaders. The original graphics
driver bugs that motivated enabling it have been fixed, at least on
one of the platforms (macOS).

Tested with new WebGL conformance test in
https://github.com/KhronosGroup/WebGL/pull/3214 .


Cannot be cherry-picked before bug 223316 is fixed.

Must be applied locally before fixing bug 223316.
Comment 1 Kimmo Kinnunen 2021-08-11 04:53:59 PDT
Created attachment 435335 [details]
Patch
Comment 2 EWS Watchlist 2021-08-11 04:54:55 PDT
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment 3 Kenneth Russell 2021-08-11 12:35:01 PDT
Comment on attachment 435335 [details]
Patch

Sounds like there's a bug in the direct-to-MSL translator to fix here; let's defer approving this until that's known to be fixed.
Comment 4 Radar WebKit Bug Importer 2021-08-18 04:50:17 PDT
<rdar://problem/82071981>