01:37airlied: has anyone ever seen or heard of shared memory allocator that works along the lines of a register allocator
01:37airlied: I've got a bunch of temporary internal shared memory usage, and I want to optimise it's usage to the lifetimes of the users
05:12karolherbst: airlied: ont eh spirv side it's all derefs, right? I wonder if it would be enough to track in which blocks a shared memory variable is alive and make lower_explicit_io a bit smarter there
05:16airlied: karolherbst: there is all internal to the compiler, spir-v doesn't see it at all
05:16karolherbst: ohhh, so it's for internally created variables? Well could do the same for those
05:17airlied: yes but I'd like to have the variable reuse shared memory space if they don't overlap
05:17karolherbst: yeah, but I don't think we have anything that tracks live ranges for variables
05:18airlied: (of course I have to get it working without that first, but that would be the next step)
05:19karolherbst: anyway, I don't think this is doable in an RA fashion, because you kinda have to do this before IO lowering the derefs