Declaring both gl_FragColor and gl_FragData invariant should succeed.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
test: Declaring both gl_FragColor and gl_FragData invariant should succeed.
default vertex shader
default vertex shader translated for driver
test fragment shader
FAIL [unexpected fragment shader compile status] (expected: true) Declaring both gl_FragColor and gl_FragData invariant should succeed.
test fragment shader info log
PASS successfullyParsed is true
*** Bug 223334 has been marked as a duplicate of this bug. ***
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Created attachment 436543 [details]
Created attachment 436546 [details]
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment on attachment 436546 [details]
Great work Kimmo diagnosing and fixing this. It sounds like you've carefully analyzed what was going wrong here, so looks good to me. It would be good if Kyle could look at this too before landing.
(As an aside, I wish we'd finished the upstreaming process so that large changes like this didn't make WebKit's and ANGLE's code diverge further.)
Discussing with Kyle, he thinks this is ok. To the best of my knowledge, all the expected conformance tests still pass.
Committed r281794 (241131@main): <https://commits.webkit.org/241131@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 436546 [details].