#
#asahi-gpu · 2023-07-25 13:39
alyssathat doesn't look like the same shader
#asahi-gpu · 2023-07-25 13:39
alyssahmm our heuristic should force highp for that shader
#asahi-gpu · 2023-07-25 13:38
linaLet me test with Mesa shader replacement that it works...
#asahi-gpu · 2023-07-25 13:38
linaI'll file a bug
#asahi-gpu · 2023-07-25 13:37
alyssaNice work!
#asahi-gpu · 2023-07-25 13:37
alyssaD'oh!
#asahi-gpu · 2023-07-25 13:37
linaThose are the broken shaders, prior to the silly optimization path. It uses mediump on the FS...
#asahi-gpu · 2023-07-25 13:36
linahttps://searchfox.org/mozilla-central/source/dom/canvas/DrawTargetWebgl.cpp#1231
#asahi-gpu · 2023-07-25 13:36
linaI found it...
#asahi-gpu · 2023-07-25 13:33
alyssasure
#asahi-gpu · 2023-07-25 13:32
linaYeah but it could be due to the Canvas blits it does or something
#asahi-gpu · 2023-07-25 13:32
alyssathough it's worth noting I also only saw this in sheets
#asahi-gpu · 2023-07-25 13:32
alyssaI'd buy that
#asahi-gpu · 2023-07-25 13:31
linaalyssa: I think sheets might not be using WebGL at all??? Maybe this is an internal firefox bug....
#asahi-gpu · 2023-07-25 13:29
alyssavalgrind is clean?wat?
#asahi-gpu · 2023-07-25 13:14
alyssa!
#asahi-gpu · 2023-07-25 13:13
linaI think I found the same shader and the precisions are right here...
#asahi-gpu · 2023-07-25 13:09
linaalyssa: OK, --ozone-platform=wayland is what gets me WebGL2 using the GLES backend properly
#asahi-gpu · 2023-07-25 13:06
alyssalooks like it
#asahi-gpu · 2023-07-25 13:06
lina(All relevant structs)
#asahi-gpu · 2023-07-25 13:05
linaAre you clearing the cmdbuf before filling it in?
#asahi-gpu · 2023-07-25 13:05
alyssaplausible
#asahi-gpu · 2023-07-25 13:05
linaUninitialized data?
#asahi-gpu · 2023-07-25 13:05
alyssaand why only in release builds of mesa
#asahi-gpu · 2023-07-25 13:05
alyssawhat do you want from me
#asahi-gpu · 2023-07-25 13:05
alyssaDRM_IOCTL_ASAHI_SUBMIT render failed: Invalid argument (1903x519 tile 32x32 layers 1 samples 1)
#asahi-gpu · 2023-07-25 13:04
alyssa:p
#asahi-gpu · 2023-07-25 13:04
alyssaok this is too cursed for me, i'm tapping out
#asahi-gpu · 2023-07-25 13:03
linaI think... it might be trying to use a Vulkan backend???
#asahi-gpu · 2023-07-25 13:03
linaWait but it says WebGL2: Software?!
#asahi-gpu · 2023-07-25 13:02
linaAh, but it does with --use-gl=egl
#asahi-gpu · 2023-07-25 12:59
linaAh, not on Chromium...
#asahi-gpu · 2023-07-25 12:59
_jannau__are both firefox and chromium reporting webgl 2 as supported?
#asahi-gpu · 2023-07-25 12:57
alyssay'know i've always hated webgl
#asahi-gpu · 2023-07-25 12:56
linaI think Firefox might be using ANGLE?
#asahi-gpu · 2023-07-25 12:55
linaThe shaders I dumped on Chromium don't have precision qualifiers at all...
#asahi-gpu · 2023-07-25 12:53
linaWe still need to make that skip that mediump io thing
#asahi-gpu · 2023-07-25 12:49
alyssai'm fine no16 driconf cone of shaming firefox
#asahi-gpu · 2023-07-25 12:48
alyssaso... firefox regression maybe?
#asahi-gpu · 2023-07-25 12:48
alyssafirefox 115
#asahi-gpu · 2023-07-25 12:48
alyssaok definitely hit it on fedora
#asahi-gpu · 2023-07-25 12:48
alyssalina: very subtle but I think I can repro on fedora
#asahi-gpu · 2023-07-25 12:47
_jannau__could be firefox esr
#asahi-gpu · 2023-07-25 12:46
alyssaapt upgrades
#asahi-gpu · 2023-07-25 12:46
linaOooooold...
#asahi-gpu · 2023-07-25 12:45
alyssalet me try on fedora
#asahi-gpu · 2023-07-25 12:45
alyssafirefox 102 here
#asahi-gpu · 2023-07-25 12:45
linaFirefox 115.0.2
#asahi-gpu · 2023-07-25 12:45
alyssaINTERESTING
#asahi-gpu · 2023-07-25 12:45
linaalyssa: Doesn't happen on Chromium with or without that flag

plus ›