MSVC is too stupid to see that line 3058 will not run unless n_variants
has been set together with variants in the switch statement below.
--
v3: vkd3d-shader/hlsl: Make sure variants is initialized in declare_predefined_types().
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/171
--
v2: vkd3d: Append CopyTileMappings() commands to the command queue op array.
vkd3d: Append UpdateTileMappings() commands to the command queue op array.
vkd3d: Add missing const attributes to ID3D12CommandQueue::UpdateTileMappings() parameters.
vkd3d: Validate plane count for tiled textures.
vkd3d: Validate tiled resources tier for 3D textures.
vkd3d: Always pass null heap properties to vkd3d_create_image() for sparse images.
vkd3d: Check sparse image format is supported.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/216