On Tue, Jan 12, 2021 at 3:22 PM Henri Verbeet hverbeet@gmail.com wrote:
On Tue, 12 Jan 2021 at 14:13, Matteo Bruni mbruni@codeweavers.com wrote:
default_open_include() looks in the current directory rather than into the same directory as the current file. That seems wrong, except that I have the feeling that's exactly what native does. Is that right?
That may be true, but my counter would be that vkd3d-shader should by default do the reasonable thing, while d3dcompiler would implement its quirks in its own open_include implementation.
I didn't reply to this earlier but yeah, that's certainly a valid point. I don't actually know what's the rationale for the current behavior though, I was just speculating.