#
✕ nick:alyssa
#asahi-gpu · 2023-06-14 11:13
alyssaYeah there's some awful incantation to do it that I can never remember
#asahi-gpu · 2023-06-14 11:13
alyssa 07:27 <lina> alyssa: Have you ever used apitrace with X?
#asahi-gpu · 2023-06-14 11:12
alyssalina: sleepy nya nya nya nya nya nya nya nya nya bat man
#asahi-gpu · 2023-06-13 23:03
alyssaok fixed
#asahi-gpu · 2023-06-13 23:01
alyssaalso I broke texelFetch but yknow, details
#asahi-gpu · 2023-06-13 22:58
alyssa* except atomics are still technically broken i know i know i'm getting to it
#asahi-gpu · 2023-06-13 22:58
alyssawhich means I now finally have a feature complete image implementation*
#asahi-gpu · 2023-06-13 22:57
alyssa(due to eMRT)
#asahi-gpu · 2023-06-13 22:57
alyssaAt any rate that gets KHR-GLES* down to a single fail
#asahi-gpu · 2023-06-13 22:49
alyssaI've been putting off figuring out cache bits but ugh
#asahi-gpu · 2023-06-13 22:45
alyssanot sure exactly what
#asahi-gpu · 2023-06-13 22:45
alyssaIt's definitely some sort of cache control bit
#asahi-gpu · 2023-06-13 22:45
alyssaTellowKrinkle: to follow up on our previous chat, the reason I was getting flaking but your test with Metal wasn't is because Apple is correctly setting bit 43 of texture_load when loading from read-write images
#asahi-gpu · 2023-06-13 22:42
alyssaother debug junk, sure
#asahi-gpu · 2023-06-13 22:42
alyssaoh but now the compute shader version is failing because of course it is
#asahi-gpu · 2023-06-13 22:42
alyssaWHYYYYY
#asahi-gpu · 2023-06-13 22:42
alyssaIf I set bit 43 on the image loads, the test passes
#asahi-gpu · 2023-06-13 22:41
alyssaOK!
#asahi-gpu · 2023-06-13 21:37
alyssaunclear, isnt that exciting
#asahi-gpu · 2023-06-13 21:37
alyssaor could be unrelated
#asahi-gpu · 2023-06-13 21:37
alyssamaybe
#asahi-gpu · 2023-06-13 21:37
alyssaso really that corresponds to setting bit 43 for the read/write case
#asahi-gpu · 2023-06-13 21:37
alyssa13->12 on q3 which is 43:5
#asahi-gpu · 2023-06-13 21:33
alyssatexture descriptors are the same up to compression, so that rules out any cache controls there
#asahi-gpu · 2023-06-13 21:32
alyssaotherwise no difference
#asahi-gpu · 2023-06-13 21:32
alyssaseems potentially interesting
#asahi-gpu · 2023-06-13 21:32
alyssathird argument goes 13->gather
#asahi-gpu · 2023-06-13 21:32
alyssatwo texture loads, first from read/write image, second readonly
#asahi-gpu · 2023-06-13 21:32
alyssanew hypothesis that maybe there's some cache bit I'm setting wrong
#asahi-gpu · 2023-06-07 23:39
alyssaThis probably will correspond to UAPI stuff
#asahi-gpu · 2023-06-07 23:38
alyssawe're specifically interested in samplers encoded to argument buffers, where does the actual sampler descriptor end up in memory?
#asahi-gpu · 2023-06-07 23:38
alyssaSee https://developer.apple.com/documentation/metal/buffers/managing_groups_of_resources_with_argument_buffers?language=objc for context
#asahi-gpu · 2023-06-07 23:38
alyssalina: Definitely one for you I think
#asahi-gpu · 2023-06-07 23:38
alyssaIDK. -ELATE
#asahi-gpu · 2023-06-07 23:37
alyssathat looks, possibly relevant
#asahi-gpu · 2023-06-07 23:37
alyssa2023-06-07 19:37:07.887488-0400 app[4245:43641] Execution of the command buffer was aborted due to an error during execution. Invalid Resource (00000009:kIOGPUCommandBufferCallbackErrorInvalidResource)
#asahi-gpu · 2023-06-07 22:53
alyssai'm dumping all known memory and not seeing anything happen
#asahi-gpu · 2023-06-07 22:52
alyssabut where
#asahi-gpu · 2023-06-07 22:52
alyssaThere's some global heap of sampler descriptors *somewhere*
#asahi-gpu · 2023-06-07 22:52
alyssawhere does that sampler live in GPU memory?!
#asahi-gpu · 2023-06-07 22:52
alyssaIn Metal, if you have a sampler in an argument buffer and use it
#asahi-gpu · 2023-06-07 22:51
alyssalina: I think this might be one for you. wrap.dylib is giving me spooky action
#asahi-gpu · 2023-06-07 22:51
alyssahow is this memory possible mapped?
#asahi-gpu · 2023-06-07 22:51
alyssathey just.. don't exist?
#asahi-gpu · 2023-06-07 22:51
alyssaand also disturbingly, I still can't find where bindless samplers are in memory
#asahi-gpu · 2023-06-07 22:08
alyssain particular, the hw applies the wrap mode (-:
#asahi-gpu · 2023-06-07 22:08
alyssaDisturbingly, it seems txf does not ignore the sampler (-:
#asahi-gpu · 2023-06-07 20:52
alyssaduh
#asahi-gpu · 2023-06-07 20:51
alyssaduh
#asahi-gpu · 2023-06-07 20:51
alyssaoh i can't

plus ›