#asahi-gpu · 2023-01-08 04:11
alyssaafter you finish this one, https://gitlab.freedesktop.org/mesa/mesa/-/issues/7540 is the follow up#asahi-gpu · 2023-01-08 04:10
alyssa:D#asahi-gpu · 2023-01-08 04:06
alyssathe guide should explain how to do both (that's your first task :-p)#asahi-gpu · 2023-01-08 04:06
alyssaand you'll want to make sure the final assembly is improved#asahi-gpu · 2023-01-08 04:06
alyssadEQP-GLES3.functional.shaders.texture_functions.texturesize.*#asahi-gpu · 2023-01-08 04:06
alyssaer#asahi-gpu · 2023-01-08 04:06
alyssahampus: But concretely how to test texture size changes, you want dEQP-GLES3.functional.shaders.texture_functions.texturesize.sampler2darrayshadow_fragment#asahi-gpu · 2023-01-08 04:04
alyssahampus: I hope there's a lot helpful in there if not everything#asahi-gpu · 2023-01-08 04:03
alyssalina: Please review whatever code hampus submits :-)#asahi-gpu · 2023-01-08 04:03
alyssa+1#asahi-gpu · 2023-01-08 03:38
alyssalina: ^^ don't think there's anything in there that you haven't extracted from me over months of signal chats but finally bothered to get it central#asahi-gpu · 2023-01-08 03:38
alyssahampus: https://rosenzweig.io/AlyssasDriverSurvivalGuide.txt#asahi-gpu · 2023-01-08 02:38
alyssaWriting up a "How to contribute to Alyssa's drivers" doc now#asahi-gpu · 2023-01-08 02:30
alyssaYou'll want to setup the OpenGL ES conformance tests#asahi-gpu · 2023-01-08 02:29
alyssaoh I see yes, reading #asahi-dev now#asahi-gpu · 2023-01-08 02:28
alyssahampus: Do you have an M1/M2 with Asahi Linux installed?#asahi-gpu · 2023-01-08 02:28
alyssa*eyes*#asahi-gpu · 2023-01-08 02:12
alyssaIIRC GLES3.2 only needs the weak one, and Vulkan lets you pick which of the two you want#asahi-gpu · 2023-01-08 02:12
alyssaand the latter is free#asahi-gpu · 2023-01-08 02:12
alyssawith the fault control flag, the former is an unconditional load followed by a cheap conditional select or iand#asahi-gpu · 2023-01-08 02:11
alyssawithout the fault control flag, both of those require wrapping loads in if(..) { }#asahi-gpu · 2023-01-08 02:11
alyssaOne is "out of bounds reads return 0" the other is weaker "out of bounds reads return undefined values but will not fault"#asahi-gpu · 2023-01-08 02:10
alyssaTellowKrinkle: There are 2 definitions of robustness#asahi-gpu · 2023-01-08 02:08
alyssa(gles3.2 or vulkan)#asahi-gpu · 2023-01-08 02:08
alyssawould be a cheap way to implement robustness#asahi-gpu · 2023-01-08 02:07
alyssawhat about at the context level?#asahi-gpu · 2023-01-08 02:07
alyssabtw, is "asahi.fault_control=0xb" something that could be toggled at the process level?#asahi-gpu · 2023-01-08 02:06
alyssawhat it SHOULD be doing is instead writing "if (x) { uniform = load(address) }"#asahi-gpu · 2023-01-08 02:06
alyssathat seems like a very blunt hammer to work around a fundamentally unsound compiler pass#asahi-gpu · 2023-01-08 02:04
alyssa" and only binding foo if needed for the material)#asahi-gpu · 2023-01-08 02:04
alyssa(That can happen with a completely in-spec program that doesn't do any funny UB, like "if (has foo) { load(foo) }#asahi-gpu · 2023-01-08 02:04
alyssasuddenly you've introduced faulting into a working program#asahi-gpu · 2023-01-08 02:04
alyssa" is a condition that's only true if the address is valid#asahi-gpu · 2023-01-08 02:04
alyssaand if "x#asahi-gpu · 2023-01-08 02:04
alyssatrouble is, load does have a side effect ... faulting if the address is invalid#asahi-gpu · 2023-01-08 02:03
alyssaIt only moves stuff that doesn't have side effects#asahi-gpu · 2023-01-08 02:03
alyssaIt will hapilly rewrite "if (x) { load(address) }" to "uniform = load(address); if (x) { uniform }"#asahi-gpu · 2023-01-08 02:03
alyssaerrr#asahi-gpu · 2023-01-08 02:03
alyssaIt will hapilly rewrite "if (x) { load(address) }" to "if (x) { uniform }#asahi-gpu · 2023-01-08 02:02
alyssanir_opt_preamble is fundamentally unsound.#asahi-gpu · 2023-01-08 02:02
alyssaI thought if I just ignored that bug it would go away! :(#asahi-gpu · 2023-01-08 02:01
alyssaNOOOooooOo#asahi-gpu · 2023-01-08 02:01
alyssa>________<#asahi-gpu · 2023-01-08 02:01
alyssaOh nooooooooo#asahi-gpu · 2023-01-08 02:01
alyssaahaha yeah#asahi-gpu · 2023-01-08 02:01
alyssawhich I would believe#asahi-gpu · 2023-01-08 02:01
alyssamaybe#asahi-gpu · 2023-01-08 02:00
alyssaUL1C sounds like L1 for the USC#asahi-gpu · 2023-01-08 02:00
alyssaerr... a "write" from UL1C to 0xc021#asahi-gpu · 2023-01-08 02:00
alyssaSomehow I don't think the issue is a write from DCMP