[Git][wine/vkd3d][master] vkd3d-shader/ir: Allow failure in shader_signature_find_element_for_reg().
Henri Verbeet pushed to branch master at wine / vkd3d Commits: 637a3cab by Giovanni Mascellani at 2024-09-20T17:01:29+02:00 vkd3d-shader/ir: Allow failure in shader_signature_find_element_for_reg(). shader_signature_find_element_for_reg() is also used in the TPF parser, where the program has not been validated yet, so it must not crash on errors. The I/O normaliser can instead assume that the shader is already validated. This fixes a crash with a shader used by The Falconeer. The bug is still present, because the shader will be incorrectly rejected, but at least the vkd3d-shader will fail gracefully. - - - - - 3 changed files: - libs/vkd3d-shader/ir.c - libs/vkd3d-shader/tpf.c - libs/vkd3d-shader/vkd3d_shader_private.h View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/637a3cabe7ea73f8d6d15812141619... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/637a3cabe7ea73f8d6d15812141619... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Henri Verbeet (@hverbeet)