ChanServ changed the topic of #asahi-gpu to: Asahi Linux GPU development (no user support, NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
<i509vcb> I don't see any layer id enum variant in gl_system_value
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #asahi-gpu
cr1901 has quit [Read error: Connection reset by peer]
eldriitch has quit [Quit: Leaving...]
cr1901 has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
<i509vcb> Something about LAYER not having a sysval value feels weird
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cylm has quit [Ping timeout: 480 seconds]
novafacing9926 has quit [Read error: Connection reset by peer]
possiblemeatball has quit [Quit: Quit]
jeisom has quit [Ping timeout: 480 seconds]
crabbedhaloablut has joined #asahi-gpu
nst has quit [Quit: WeeChat 3.8]
nst has joined #asahi-gpu
nst has quit []
nst has joined #asahi-gpu
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-gpu
MajorBiscuit has joined #asahi-gpu
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-gpu
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-gpu
nimprod3l has joined #asahi-gpu
eldriitch has joined #asahi-gpu
eldriitch has quit [Quit: Leaving...]
nimprod3l has quit [Quit: Leaving]
le0n has quit [Ping timeout: 480 seconds]
le0n has joined #asahi-gpu
le0n has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit []
le0n has joined #asahi-gpu
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-gpu
jeisom has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit []
ourdumbfuture has joined #asahi-gpu
cylm has joined #asahi-gpu
nyx_o_ has joined #asahi-gpu
nyx_o has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<alyssa> :\
pg12 has quit [Ping timeout: 480 seconds]
pg12 has joined #asahi-gpu
<i509vcb> one thing I did notice is that layer has a gl_varying_slot, wouldn't that imply it's already a varying or is the common infrastructure not capable of expressing layer as a sysval currently
<i509vcb> I guess I could do tree wide changes but then I have to figure out what other drivers expect...
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-gpu
<alyssa> a
<alyssa> hmm
<alyssa> i509vcb: ahhh
<alyssa> I see the problem now
<alyssa> vk_meta is hardcoding a load_layer_id intrinsic inappropriately
<alyssa> rather than conditionally doing so only if the driver wants layer IDs as sysvals
<alyssa> see for contrast nir_lower_input_attachments which has a load_layer_id helper that takes driver nir options to generate a varying LAYER load instead of a sysval load if applicable
<alyssa> I think you want to take the helper in that pass, move it to nir_builder with the appropriate rename, and then convert vk_meta to use it to ensure agxv never sees load_layer_id intrinsics
<alyssa> Notably, spirv_to_nir does not generate these sysvals for layers, neither does the glsl compiler. this is just a case of the vk_meta abstraction being a bit leaky and inadvertently hardcoding NVK specific details in common code
<alyssa> shouldn't be too hard to generalize/fix vk_meta to do the right thing
<alyssa> and then no special handling will be needed in agxv, i think
<i509vcb> Fixing vk_meta there sounds reasonable, I imagine a few nvk specific details will be there anyways
possiblemeatball has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
tertl8 has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
flom84 has joined #asahi-gpu
jeisom has quit [Read error: No route to host]
jeisom has joined #asahi-gpu
jeisom has quit [Ping timeout: 480 seconds]
flom_84 has joined #asahi-gpu
flom84 has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
flom_84 has quit []
billak has joined #asahi-gpu
chadmed has joined #asahi-gpu
billak has quit [Quit: Konversation terminated!]
crabbedhaloablut has quit []
hxliew has joined #asahi-gpu
hightower2 has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi-gpu
cylm has quit [Ping timeout: 480 seconds]
dylanchapell has quit [Read error: Connection reset by peer]
hightower2 has joined #asahi-gpu
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi-gpu
dylanchapell has joined #asahi-gpu
nyx_o_ has quit [Ping timeout: 480 seconds]
tertl8 has quit [Quit: Connection closed for inactivity]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi-gpu
NateWeav has joined #asahi-gpu
NateWeav has quit [Quit: The Lounge - https://thelounge.chat]