!UNVBThoJtlIiVwiDjU:nixos.org

Staging

187 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-24.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/70 Servers

Load older messages


SenderMessageTime
18 Oct 2024
@emilazy:matrix.orgemilyoh interesting, it's in Chromium09:17:21
@marcusramberg:matrix.orgMarcusye09:17:33
@emilazy:matrix.orgemilythis might be painful09:19:11
@emilazy:matrix.orgemilyhttps://github.com/google/angle/commit/db38707af45b3b39c62cb7323b358d35ee840aa609:20:36
@emilazy:matrix.orgemilymetallibs are now compiled at build time using gn actions. This allows the Chrome and WebKit build process to use the same code for loading the builtin shaders even though they compile them in different ways.09:20:42
@emilazy:matrix.orgemily the good news is that this doesn't look like the worst commit in the world to carry a revert of 09:21:14
@emilazy:matrix.orgemily there's also a ANGLE_METAL_XCODE_BUILDS_SHADERS define which seems promising 09:21:39
@emilazy:matrix.orgemilyalso, this isn't very urgent because Qt 6 WebEngine was already broken on Darwin previously09:22:26
@emilazy:matrix.orgemilyhmm09:24:14
@emilazy:matrix.orgemily I can't find where ANGLE_METAL_XCODE_BUILDS_SHADERS / ANGLE_METAL_HAS_PREBUILT_INTERNAL_SHADERS are set, which is annoying. 09:24:29
@emilazy:matrix.orgemilynever mind, I found them :)09:24:43
@marcusramberg:matrix.orgMarcustrue. btw, is there a way to override qt6.full to exclude webengine?09:25:29
@emilazy:matrix.orgemilyok, phew09:25:34
@emilazy:matrix.orgemily they actually, since that commit, added a metal_internal_shader_compilation_supported thing 09:25:41
@emilazy:matrix.orgemilyhttps://github.com/google/angle/commit/a9b01747f6454356a53c377c980c6b549e982fb409:25:50
@emilazy:matrix.orgemily
# We can build the ANGLE internal shaders at build-time if we have access to the Mac SDK in the "build" dir.
# Building internal shaders for the iOS simulator is not supported.
metal_internal_shader_compilation_supported =
    angle_has_build && !(is_ios && target_environment == "simulator")
09:26:09
@emilazy:matrix.orgemilyI think all we need to do is override this definition09:26:24
@marcusramberg:matrix.orgMarcusNice find09:26:31
@emilazy:matrix.orgemily Marcus: since you have a lot more of staging-next built than I do, are you up for testing patches for me? 09:26:44
@emilazy:matrix.orgemily

also, this is interesting: that comment now says

# Building internal shaders for iOS is not supported. The Chromium Mac SDK does not have all the required files.
09:27:26
@emilazy:matrix.orgemilyso actually Chromium isn't even doing this :)09:27:31
@vcunat:matrix.orgvcunatHow is iOS related?09:28:25
@vcunat:matrix.orgvcunat(or am I confused?)09:28:37
@emilazy:matrix.orgemilythe interesting part is the second sentence09:28:54
@marcusramberg:matrix.orgMarcus
In reply to @emilazy:matrix.org
Marcus: since you have a lot more of staging-next built than I do, are you up for testing patches for me?
Sure, I'd be happy to try.
09:29:04
@emilazy:matrix.orgemilythe relevant thing about this whole variable existing is that it lets us opt-out of the thing we can't do09:29:06
@emilazy:matrix.orgemilythankfully, since Chromium also can't do it (because of their weird cross-compilation situation), we can rely on not doing it to be supported09:29:21
@emilazy:matrix.orgemilynow all I have to do is figure out three layers of nested build system 🤪09:29:55
@emilazy:matrix.orgemily K900: help do you know anything about the WebEngine build 09:32:20
@k900:0upti.meK900No09:32:49

Show newer messages


Back to Room ListRoom Version: 6