On Thu, 12 May 2022 at 18:34, Zebediah Figura zfigura@codeweavers.com wrote:
I don't think that defining the environment variable looks right either, but on the other hand I'd like to see multiple channels per module be allowed, along the lines of Wine. E.g. it'd be nice to separate dxbc, spirv, hlsl, preproc. I think that necessitates defining *something* per file.
Sure, I could see the case for separate debug channels. That seems somewhat orthogonal though. I.e., right now, if we wanted to add different channels, those would likely end up being in addition to the VKD3D_DEBUG_ENV_NAME lines introduced by this patch.