- A shader_path.txt that is not UTF-8 no longer throws out of Create*PipelineState: MSVC's STL reports the failed
conversion as std::system_error, not filesystem_error. configured_shader_directory() returns the reason instead,
and DeviceState::library() catches every std::exception, so the "invalid translated shader path" message prints
and the pipeline fails. The reader of the file itself is unchanged.
- A relative LEONIDA_SHADERS no longer follows the current directory: gta6rt makes it absolute at startup, next to
--game-dir and --overlay, and ShaderLibrary::load keeps an absolute folder for the modules it reads later.
Tests: d3d12_shader_path_test (new, Windows, no GPU) and a relative-folder check in shader_library_test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>