mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/tpf: Store the "precise" mask as a uint32_t in shader_sm4_read_instruction().
This commit is contained in:
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
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user