vkd3d-shader/tpf: Store the "precise" mask as a uint32_t in shader_sm4_read_instruction().

This commit is contained in:
Henri Verbeet 2024-01-10 22:49:28 +01:00 committed by Alexandre Julliard
parent ad2af68d2a
commit 68b898fcb6
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

@ -2334,9 +2334,9 @@ static void shader_sm4_read_instruction(struct vkd3d_shader_sm4_parser *sm4, str
struct vkd3d_shader_src_param *src_params; struct vkd3d_shader_src_param *src_params;
const uint32_t **ptr = &sm4->ptr; const uint32_t **ptr = &sm4->ptr;
unsigned int i, len; unsigned int i, len;
size_t remaining;
const uint32_t *p; const uint32_t *p;
DWORD precise; uint32_t precise;
size_t remaining;
if (*ptr >= sm4->end) if (*ptr >= sm4->end)
{ {