#asahi-gpu · 2021-04-27 22:24
bloom[1] https://gitlab.freedesktop.org/mesa/mesa/-/blob/master/src/panfrost/bifrost/bifrost_compile.c#L887-913#asahi-gpu · 2021-04-27 22:24
bloomThis seems awfully familiar [1]#asahi-gpu · 2021-04-27 22:23
bloombest of both worlds or something#asahi-gpu · 2021-04-27 22:23
bloomgl_FragCoord.xy is derived from get_sr (sr80/81, u2f32, add 0.5) but gl_FragCoord.zw are loaded as a special varying#asahi-gpu · 2021-04-27 20:34
bloomwhere 0 -> 4 and 1,2,3 -> 1,2,3#asahi-gpu · 2021-04-27 20:34
bloomthinking it's just the upper two bits which act as a # of regs#asahi-gpu · 2021-04-27 20:25
bloomI can workaround in the compiler but oops#asahi-gpu · 2021-04-27 20:25
bloom(this is my fault I know :-p)#asahi-gpu · 2021-04-27 20:25
bloomdougall: the `mask` field on ld_var is definitely wrong#asahi-gpu · 2021-04-27 19:00
bloombalrog: yes, but I don't think it's XQuartz's fault, seems like an XNU weirdness#asahi-gpu · 2021-04-27 18:58
balrogbloom: XShm that's bundled with XQuartz that is?#asahi-gpu · 2021-04-27 17:26
bloomNote to self `ipcrm -m $ID` will clear the segment seen in `ipcs`#asahi-gpu · 2021-04-27 03:30
bloomPossibly user error though#asahi-gpu · 2021-04-27 03:30
bloomThe bigger issue is how unreliable XShm is on macOS.#asahi-gpu · 2021-04-27 03:25
PthariensFlame[m😒#asahi-gpu · 2021-04-27 01:30
bloomHnngh#asahi-gpu · 2021-04-27 01:30
bloom...and then Metal spends just as many retiling it for on-screen composite.#asahi-gpu · 2021-04-27 01:30
bloomTerribly ironic -- I spend a ton of cycles detiling the framebuffer in software for present...#asahi-gpu · 2021-04-23 22:59
bloomI'll upstream when the curves intersect.#asahi-gpu · 2021-04-23 22:59
bloomBut right now the extra overhead of upstream dev for an early project is more than the overhead of rebasing things.#asahi-gpu · 2021-04-23 22:58
nimroot[m]I'd love to help somehow, but all of my experience is python web backend dev : /#asahi-gpu · 2021-04-23 22:58
bloomIf I wanted I could push the code now and nobody would complain.#asahi-gpu · 2021-04-23 22:58
nimroot[m]Wow, missed it somehow. So, the first (docs) step is behind us, can't wait for proper hardware support.#asahi-gpu · 2021-04-23 22:58
bloomUpstreaming into Mesa isn't a big milestone for me, I guess#asahi-gpu · 2021-04-23 22:55
bloomhttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10152 was a week ago :-p#asahi-gpu · 2021-04-23 22:55
nimroot[m]Oh, sorry, didn't make my question precise. I meant the first MR for M1 support : D#asahi-gpu · 2021-04-23 22:54
bloom(Actually, there was a gap. Panfrost was a mailing list hold out. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1120 was apparently my frist.)#asahi-gpu · 2021-04-23 22:52
bloomI made my first MR to mesa when Mesa first moved to GitLab a few years back :-p#asahi-gpu · 2021-04-23 22:52
nimroot[m]bloom: are you able to estimate how long it might take for first MR to mesa? Months? Years?#asahi-gpu · 2021-04-23 22:50
bloomdemo#asahi-gpu · 2021-04-23 22:50
bloomTrying to wire textures into the spinning cube dmeo#asahi-gpu · 2021-04-23 17:04
bloomand it's not in system RAM, it's a dedicated register file#asahi-gpu · 2021-04-23 17:03
bloomunfortunately not a number we can *confirm* but it's a solid guess#asahi-gpu · 2021-04-23 17:03
bloomsven: is right#asahi-gpu · 2021-04-23 15:50
choozyAh okay#asahi-gpu · 2021-04-23 15:48
svenand that's the total size of all register combined#asahi-gpu · 2021-04-23 15:48
sveni think it's ~5MB and not ~5000MB#asahi-gpu · 2021-04-23 15:41
choozyAlyssa Anne*, excuse me#asahi-gpu · 2021-04-23 15:40
choozyI read the blog post number 3 from Alyssa Anna and it stated the GPU can allocate up to 4785MB in it's registers. Is this piece of memory used and maybe shared with the system RAM from the M1?#asahi-gpu · 2021-04-23 15:38
choozyHi#asahi-gpu · 2021-04-23 03:45
bloomat least I know how formats work#asahi-gpu · 2021-04-23 03:45
bloommy "Render target" descriptor looks like a compact flavour of the texture descriptor#asahi-gpu · 2021-04-23 02:55
bloomrn im more concerned about framebuffers#asahi-gpu · 2021-04-23 02:54
bloomthat won't be too hard but I'll wait till the ISA side is known#asahi-gpu · 2021-04-23 02:54
bloomnot piped into the demo yet#asahi-gpu · 2021-04-23 02:53
dougallawesome! looking forward to trying that out#asahi-gpu · 2021-04-23 02:49
bloomvery much incomplete but good enough to get started#asahi-gpu · 2021-04-23 02:49
bloomok, checked in cmdstream defs for 2d textures and samplers#asahi-gpu · 2021-04-21 01:55
bloom(Yes, I mean that ironically :p)#asahi-gpu · 2021-04-21 01:54
bloomDifferential analysis still works, though :)