[Git][wine/vkd3d][master] 3 commits: vkd3d-shader/hlsl: Avoid some uses of the default case when switching over hlsl_base_type.
Henri Verbeet pushed to branch master at wine / vkd3d Commits: 1ff1a51e by Elizabeth Figura at 2025-01-10T19:24:10+01:00 vkd3d-shader/hlsl: Avoid some uses of the default case when switching over hlsl_base_type. Since we have -Wswitch, this forces the developer to update all relevant switches when an enum case is added. Places where the default is just a FIXME are left alone. - - - - - 39239879 by Elizabeth Figura at 2025-01-10T19:24:21+01:00 vkd3d-shader/d3dbc: Do not access the type dimensions for non-numeric types. - - - - - 29bac62b by Elizabeth Figura at 2025-01-10T19:38:13+01:00 vkd3d-shader/hlsl: Move the "dimx" and "dimy" fields to the type-specific union. - - - - - 7 changed files: - libs/vkd3d-shader/fx.c - libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/hlsl_constant_ops.c - libs/vkd3d-shader/tpf.c View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/646087d54ca7488d133e5e1fc802b... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/646087d54ca7488d133e5e1fc802b... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Henri Verbeet (@hverbeet)