Skip to content

vkd3d-shader: Address ubsan runtime errors.

Francisco Casas requested to merge fcasas/vkd3d:ubsan_fixes into master

When passing -fsanitize=undefined to the compiler and linker (through the CPPFLAGS= and LDFLAGS= parameters for the config script) and thus, enabling ubsan, it reports some errors when running the tests.

These patches address these errors, but since the errors seem innocuous, it might be argued if solving them is worth the additional code here proposed.

Merge request reports

Loading