10:53fdobridge: <karolherbst🐧🦀> @gfxstrand fyi https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25265
10:54fdobridge: <karolherbst🐧🦀> I solved the static inline wrapper nonsense 🙃
10:54fdobridge: <karolherbst🐧🦀> well..
10:54fdobridge: <karolherbst🐧🦀> bindgen did, I just integrated it into meson+mesa
14:02fdobridge: <gfxstrand> 🥳
14:02fdobridge: <gfxstrand> I can probably simplify a bunch of my nir wrappers now
14:08fdobridge: <karolherbst🐧🦀> there is other good stuff in bindgen 0.64: `Added a new set of flags --with-derive-custom, --with-derive-custom-struct, --with-derive-custom-enum and --with-derive-custom-enum to add custom derives from the CLI.`
17:45fdobridge: <gfxstrand> Oh, nice!
17:46fdobridge: <gfxstrand> I really hate that NV doesn't have an easy way to get some locations. 🤦🏻♀️
17:48fdobridge: <gfxstrand> I really want to lower it in NIR but it has to happen pretty late.
17:49fdobridge: <gfxstrand> Doesn't work well with the descriptor lowering model. 🫤
17:49fdobridge: <gfxstrand> Hrm... actually...
18:30fdobridge: <mhenning> which locations? not sure I'm aware of this edge case
19:05fdobridge: <gfxstrand> For `interpolateAtSample()`
19:05fdobridge: <gfxstrand> Or if there are, codegen doesn't know about them.
19:05fdobridge: <gfxstrand> I could see what the blob does, I suppose. 🤷🏻♀️
19:07fdobridge: <karolherbst🐧🦀> you mean sample locations?
19:07fdobridge: <gfxstrand> Yes, those
19:07fdobridge: <karolherbst🐧🦀> there is a sysval afaik
19:08fdobridge: <karolherbst🐧🦀> or uhm...
19:08fdobridge: <karolherbst🐧🦀> a tex query?
19:08fdobridge: <karolherbst🐧🦀> something was there..
19:08fdobridge: <gfxstrand> Oh... I forgot about the tex query... maybe? 🤔
19:09fdobridge: <karolherbst🐧🦀> yeah..
19:09fdobridge: <karolherbst🐧🦀> sample index within ms pattern
19:09fdobridge: <karolherbst🐧🦀> writes to R
19:09fdobridge: <karolherbst🐧🦀> 4.12/4.12 format
19:10fdobridge: <karolherbst🐧🦀> as packed dx/dy
19:10fdobridge: <gfxstrand> There is TXQ.SAMPLER_POS
19:10fdobridge: <karolherbst🐧🦀> yeah
19:10fdobridge: <karolherbst🐧🦀> that's the thing I described
19:11fdobridge: <gfxstrand> Oh, nice! So I canjust do TXQ.SAMPLER_POS with the index as the source and get a packed offset? That's nifty.
19:11fdobridge: <karolherbst🐧🦀> IPA/PIXLD use the same format
19:11fdobridge: <karolherbst🐧🦀> so I guess you can just use those values
19:11fdobridge: <karolherbst🐧🦀> yeah
19:11fdobridge: <gfxstrand> Neat!
20:16fdobridge: <gfxstrand> Do you know what the arguments you TXQ are supposed to look like? I'm guessing `(0, ms_idx)` but IDK.
22:41fdobridge: <gfxstrand> `Pass: 405083, Fail: 192, Crash: 131, Skip: 3195085, Timeout: 2, Flake: 390, Duration: 1:48:52`
22:41fdobridge: <gfxstrand> There's some dmesg errors, though.
23:08fdobridge: <samantas5855> many skips
23:22fdobridge: <gfxstrand> Yeah, that's to be expected
23:22fdobridge: <gfxstrand> Even a full-featured driver with ESO and ray-tracing only runs like 1/2 the CTS
23:28fdobridge: <karolherbst🐧🦀> uhh.. it's just the coordinates
23:28fdobridge: <karolherbst🐧🦀> ehh wait
23:29fdobridge: <karolherbst🐧🦀> ehh yeah, it's the sample index
23:29fdobridge: <karolherbst🐧🦀> but I only know that it's one input
23:30fdobridge: <karolherbst🐧🦀> ahh yeah.. x is sampler|header and y is LOD/sample position
23:30fdobridge: <karolherbst🐧🦀> but
23:30fdobridge: <karolherbst🐧🦀> if you don't specify/need the sampler/header, the LOD/sample moves to x