#
✕ nick:alyssa
#asahi-gpu · 2023-03-22 14:51
alyssawhich I was going to ask you to look at $LATER
#asahi-gpu · 2023-03-22 14:51
alyssabut I'm not inclined to wire up that stuff until the more basic multisampling brokenness is sorted
#asahi-gpu · 2023-03-22 14:51
alyssalina: that's due to multisampling not being finished
#asahi-gpu · 2023-03-21 18:42
alyssaupdates fence code
#asahi-gpu · 2023-03-21 18:41
alyssathx sis
#asahi-gpu · 2023-03-21 18:31
alyssalina: I guess if you sign off here I'll throw the MR upstream and we'll see what happens
#asahi-gpu · 2023-03-21 18:14
alyssashould probably merge this one directly to mesa/mesa in the interest of additional visibility in case others want to object (rather than burying it in the "this month in Asahi" mega-mr)
#asahi-gpu · 2023-03-21 18:13
alyssaup to you
#asahi-gpu · 2023-03-21 17:28
alyssalina: Also, I don't think you ever commented on the spdx thing
#asahi-gpu · 2023-03-21 17:28
alyssaOh nice
#asahi-gpu · 2023-03-21 16:21
alyssaI have not actually done the "compile asahi mesa for i386 and install into a FEX container" but how hard can it be??
#asahi-gpu · 2023-03-21 16:21
alyssalina: https://vt.social/@theofficialgman@floss.social/110061895789094573 Oh yeah I forgot about this detail ahem
#asahi-gpu · 2023-03-21 15:38
alyssaI expect I'll be the one doing that for at least the first few times in case it turns out to be a bad idea
#asahi-gpu · 2023-03-21 15:37
alyssaThen when asahi/main is rebased on upstream & the non-UAPI stuff is flushed upstream, the UAPI commits will be squashed back together (to take advantage of the force push then)
#asahi-gpu · 2023-03-21 15:37
alyssalina: Open an MR to asahi/main with the changes, reviewed & merged like anything else
#asahi-gpu · 2023-03-20 17:20
alyssamew
#asahi-gpu · 2023-03-19 16:22
alyssamanaged to provoke 0x783
#asahi-gpu · 2023-03-19 16:20
alyssaat a loss here, where is this missing memory
#asahi-gpu · 2023-03-19 16:13
alyssano it's not that either.
#asahi-gpu · 2023-03-19 16:12
alyssano this would be pathological even by AGX standards..
#asahi-gpu · 2023-03-19 16:11
alyssaunless.
#asahi-gpu · 2023-03-19 16:10
alyssathere'sjust, not enough entropy here
#asahi-gpu · 2023-03-19 16:10
alyssabut .. I'm not seeing where the cntents go
#asahi-gpu · 2023-03-19 16:10
alyssarelating to the bindless samplers
#asahi-gpu · 2023-03-19 16:10
alyssa02345 is clearly a table of 8-byte records of some kind
#asahi-gpu · 2023-03-19 16:07
alyssa02345 is the only interesting thing here but, I'm printing it and it's not telling me what I need
#asahi-gpu · 2023-03-19 16:07
alyssabut that, doesn't tell me where the actual samplers live!
#asahi-gpu · 2023-03-19 16:06
alyssaand corresponding index in the 02345 buffer gets the second word replaced by 0x780 or 0x781
#asahi-gpu · 2023-03-19 16:06
alyssa(seeing as they each bump up when I create a bindless sampler even if it's not actually used)
#asahi-gpu · 2023-03-19 16:06
alyssa??
#asahi-gpu · 2023-03-19 16:06
alyssaIOGPU Compute word 39: # of bindless samplers
#asahi-gpu · 2023-03-19 16:06
alyssaIOGPU Compute word 38: # of bindless samplers + 1
#asahi-gpu · 2023-03-19 15:59
alyssabut, if changing the sampler descriptor is not changing memory as far as I can see, IDK what to make of that other than not mapping memory hard enough
#asahi-gpu · 2023-03-19 15:29
alyssaI'm clearly missing something dumb
#asahi-gpu · 2023-03-19 15:17
alyssaeither my Metal code is wrong or something is horribly broken in my decoder ..
#asahi-gpu · 2023-03-19 15:15
alyssai feel like i'm getting warmer but this isn't clicking yet
#asahi-gpu · 2023-03-19 14:47
alyssabut it isn't at all clear to me where the sampler descriptors themselves live. presumably this is indexing into a global heap but I can't figure out where.
#asahi-gpu · 2023-03-19 14:46
alyssathe sampler register is a 16-bit index, not a byte offset (!)
#asahi-gpu · 2023-03-19 14:46
alyssaas for the samplers though
#asahi-gpu · 2023-03-19 14:46
alyssamultiples of 24
#asahi-gpu · 2023-03-19 14:46
alyssabyte offsets
#asahi-gpu · 2023-03-19 14:46
alyssaMetal's texture handles are 32-bit offsets into the heap or something like that
#asahi-gpu · 2023-03-19 14:45
alyssaadd the register (if present) to the 64-bit uniform (must be present) and that's the address of the texture descriptor in memory, bam, done.
#asahi-gpu · 2023-03-19 14:45
alyssanamely
#asahi-gpu · 2023-03-19 14:44
alyssastill mystified by bindless samplers.
#asahi-gpu · 2023-03-19 14:44
alyssaOK. I think I have a more or less complete picture of bindless texture handles then
#asahi-gpu · 2023-03-19 14:31
alyssaI think I'm figuring out what the 02345 buffer is...
#asahi-gpu · 2023-03-19 14:31
alyssalina: uh oh
#asahi-gpu · 2023-03-18 22:45
alyssabecause my compressed 2d arrays aren't working properly, boo
#asahi-gpu · 2023-03-18 22:13
alyssanote to self: massive 35%+ perf boost in dolphin on this trace if I can get it to use compression more, it seems to work so next step is figuring out why that's not already happening

plus ›