upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-23 14:50:00 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-23 14:50:00 -0500
commitf57ed9da22d9bd258db541e4537006727bc872ad (patch)
tree080ad437583c4db995901a2d766767a338609935 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent867d922f09b86583859796a174df89555fb32da8 (diff)
d3d12: a shader path that is not UTF-8 never throws, and LEONIDA_SHADERS is absolute
- 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>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions