On Mon Dec 11 10:54:07 2023 +0000, Giovanni Mascellani wrote:
Yeah, one fallout of this change is that actions that happen at the end of a section (i.e. most prominently code compilation, but also setting resources) get the line number of the starting of the following section, which can be confusing. It shouldn't be too hard to fix that, though: I just need to delay `vkd3d_test_push_context()` a little bit an push another context for the `if (!ret || line[0] == '[')` block in `shader_runner.c`.
OK, and this is because the code is *compiled* in `compile_shader`, but it's only checked for validity in the `STATE_PREPROC`? So it's showing the line where the preprocessing is done even though it "should" be showing the line where the compiling is done?