From 68b898fcb6b4ab2a9660f35edf3554465ab0efbe Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 10 Jan 2024 22:49:28 +0100 Subject: [PATCH] vkd3d-shader/tpf: Store the "precise" mask as a uint32_t in shader_sm4_read_instruction(). --- libs/vkd3d-shader/tpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d-shader/tpf.c b/libs/vkd3d-shader/tpf.c index 40bd91e5..1f1944bc 100644 --- a/libs/vkd3d-shader/tpf.c +++ b/libs/vkd3d-shader/tpf.c @@ -2334,9 +2334,9 @@ static void shader_sm4_read_instruction(struct vkd3d_shader_sm4_parser *sm4, str struct vkd3d_shader_src_param *src_params; const uint32_t **ptr = &sm4->ptr; unsigned int i, len; - size_t remaining; const uint32_t *p; - DWORD precise; + uint32_t precise; + size_t remaining; if (*ptr >= sm4->end) {