mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Get rid of a stray vkd3d_string_buffer_printf() in the VEC4 UINT immediate constant handling.
Uncovered by the ininf() test in the next commit. This is why we insist on test coverage; unfortunately this one slipped through in fd1beedc07becc7e5e49b64273f7bde7f9a8b2a0.
This commit is contained in:
parent
cf19b4da49
commit
ce4f2728ba
Notes:
Henri Verbeet
2025-01-16 19:30:04 +01:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1336
@ -198,7 +198,6 @@ static void msl_print_register_name(struct vkd3d_string_buffer *buffer,
|
|||||||
vkd3d_string_buffer_printf(buffer, "uint4(%#xu, %#xu, %#xu, %#xu)",
|
vkd3d_string_buffer_printf(buffer, "uint4(%#xu, %#xu, %#xu, %#xu)",
|
||||||
reg->u.immconst_u32[0], reg->u.immconst_u32[1],
|
reg->u.immconst_u32[0], reg->u.immconst_u32[1],
|
||||||
reg->u.immconst_u32[2], reg->u.immconst_u32[3]);
|
reg->u.immconst_u32[2], reg->u.immconst_u32[3]);
|
||||||
vkd3d_string_buffer_printf(buffer, "%#xu", reg->u.immconst_u32[0]);
|
|
||||||
break;
|
break;
|
||||||
case VKD3D_DATA_FLOAT:
|
case VKD3D_DATA_FLOAT:
|
||||||
vkd3d_string_buffer_printf(buffer, "as_type<float4>(uint4(%#xu, %#xu, %#xu, %#xu))",
|
vkd3d_string_buffer_printf(buffer, "as_type<float4>(uint4(%#xu, %#xu, %#xu, %#xu))",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user