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

This commit is contained in:
Henri Verbeet 2024-01-10 17:10:07 +01:00 committed by Alexandre Julliard
parent c5facd4e03
commit fd854bc0c0
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

@ -2075,7 +2075,7 @@ static bool shader_sm4_read_src_param(struct vkd3d_shader_sm4_parser *priv, cons
const uint32_t *end, enum vkd3d_data_type data_type, struct vkd3d_shader_src_param *src_param)
{
unsigned int dimension, mask;
DWORD token;
uint32_t token;
if (*ptr >= end)
{