#
✕ nick:alyssa
#asahi-gpu · 2023-08-10 00:10
alyssathat bit I identified as controlling a barrier with iterate instructions
#asahi-gpu · 2023-08-10 00:09
alyssadougall: ..and the plot thickens
#asahi-gpu · 2023-08-09 20:27
alyssawe are underallocating. I do not know why. We don't seem to have much test coverage for block-compressed textures
#asahi-gpu · 2023-08-09 20:27
alyssaer, this test is ETC2 EAC actually. but probably that too.
#asahi-gpu · 2023-08-09 20:26
alyssa132x132 ASTC 4x4 cube map with a full mipmap
#asahi-gpu · 2023-08-09 20:26
alyssaI think we have an ail bug O_O
#asahi-gpu · 2023-08-09 12:38
alyssanice work :)
#asahi-gpu · 2023-08-04 03:11
alyssaregardless I've scribbled enough math in my notebook that I now understand how coefficient registers work on AGX :~)
#asahi-gpu · 2023-08-03 22:30
alyssabut it's still not... quite right.
#asahi-gpu · 2023-08-03 22:26
alyssaseemingly without the swap. possibly I just misread the metal assembly
#asahi-gpu · 2023-08-03 22:26
alyssaok, yeah, that does it. mostly.
#asahi-gpu · 2023-08-03 22:15
alyssabut otherwise the same
#asahi-gpu · 2023-08-03 22:15
alyssaand you divide by W at the end as expected
#asahi-gpu · 2023-08-03 22:15
alyssadidn't comb through everything in full, but seemingly x/y are swapped in the perspective case (why?)
#asahi-gpu · 2023-08-03 22:01
alyssaoh what a delight, the coeffs are different if perspective is set. wheeee.
#asahi-gpu · 2023-08-03 21:42
alyssaeverything else is shader local changes
#asahi-gpu · 2023-08-03 21:42
alyssabindings unchanged
#asahi-gpu · 2023-08-03 21:42
alyssaunknown 3:0 set
#asahi-gpu · 2023-08-03 21:42
alyssaunk 2 : 0 -> 3
#asahi-gpu · 2023-08-03 21:42
alyssalooking at interpolateAtOffset again
#asahi-gpu · 2023-08-02 01:27
alyssajannau: classic lol
#asahi-gpu · 2023-08-01 13:41
alyssaso https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21685 is what we need after all
#asahi-gpu · 2023-08-01 13:41
alyssajannau: by decree of mareko, this is a mesa/st bug and not a driver bug
#asahi-gpu · 2023-08-01 13:22
alyssa:P
#asahi-gpu · 2023-08-01 13:22
alyssa=D
#asahi-gpu · 2023-08-01 13:22
alyssasweet!
#asahi-gpu · 2023-08-01 13:22
alyssanow whenever I have memory corruption in Mesa, now I know it can't possibly be the fault of my C code and I can blame the kernel
#asahi-gpu · 2023-08-01 13:21
alyssaomg, thanks guys
#asahi-gpu · 2023-08-01 11:56
alyssa_jannau__: fwiw https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24412
#asahi-gpu · 2023-07-31 22:28
alyssai wonder if there's some sort of instruction grouping mechanism we've somehow missed.
#asahi-gpu · 2023-07-31 22:20
alyssawith .discards
#asahi-gpu · 2023-07-31 22:20
alyssait will do ldcf-read with alu-write with alu
#asahi-gpu · 2023-07-31 22:20
alyssaok, coincidence yeah
#asahi-gpu · 2023-07-31 22:18
alyssacoincidence, I hope
#asahi-gpu · 2023-07-31 22:18
alyssa..I don't see any ALU writes after ldcf writes to the third register...
#asahi-gpu · 2023-07-31 22:16
alyssabut what about ldcf about with ALU?
#asahi-gpu · 2023-07-31 22:16
alyssaldcf definitely handles WaW hazards with itself
#asahi-gpu · 2023-07-31 22:15
alyssaI have no idea how to coax the blob into doing more interesting things with ldcf to figure out how it deals with the hazard
#asahi-gpu · 2023-07-31 22:13
alyssa(bit 52 is set only on the first -- that's the helper invocation discard bit, much less interesting)
#asahi-gpu · 2023-07-31 22:12
alyssaI notice that bit 46 is set unpredictably, no idea what it means
#asahi-gpu · 2023-07-31 22:11
alyssasome blob output with lots of ldcf instructions https://paste.centos.org/view/84334941
#asahi-gpu · 2023-07-31 21:56
alyssa(if the ldcf registers are non-overlapping and the moves are removed, it works..)
#asahi-gpu · 2023-07-31 21:55
alyssathis is flaking
#asahi-gpu · 2023-07-31 21:55
alyssahttps://rosenzweig.io/broken.txt
#asahi-gpu · 2023-07-31 21:52
alyssadougall: oof. the write-after-write hazard woes are not behind us like I thought :(
#asahi-gpu · 2023-07-30 18:22
alyssamew.
#asahi-gpu · 2023-07-30 02:39
alyssaan d
#asahi-gpu · 2023-07-29 22:15
alyssathat's... good? maybe?
#asahi-gpu · 2023-07-29 20:21
alyssaThanks >:
#asahi-gpu · 2023-07-29 20:21
alyssaYup.

plus ›