[PATCH vkd3d 1/6] vkd3d-shader/hlsl: Abort when an unexpected type appears.

Henri Verbeet hverbeet at gmail.com
Wed Mar 23 10:43:04 CDT 2022


On Wed, 23 Mar 2022 at 15:27, Giovanni Mascellani
<gmascellani at codeweavers.com> wrote:
> ---
>  libs/vkd3d-shader/hlsl_sm4.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
Would we be able to get here by providing either valid or invalid user
input, or would the only way to get here be internal inconsistencies
in the HLSL compiler? The latter would be fine, but I don't think we'd
want to use assert() in the former case.



More information about the wine-devel mailing list