vkd3d-shader/tpf: Store the current token as a uint32_t in shader_sm4_read_dst_param().

This commit is contained in:
Henri Verbeet 2024-01-10 22:43:57 +01:00 committed by Alexandre Julliard
parent fd854bc0c0
commit b8903f5526
Notes: Alexandre Julliard 2024-01-15 23:03:23 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/563

View File

@ -2162,7 +2162,7 @@ static bool shader_sm4_read_dst_param(struct vkd3d_shader_sm4_parser *priv, cons
enum vkd3d_sm4_swizzle_type swizzle_type;
enum vkd3d_shader_src_modifier modifier;
unsigned int dimension, swizzle;
DWORD token;
uint32_t token;
if (*ptr >= end)
{