vkd3d-shader: Replace assert() with VKD3D_ASSERT() in d3d_asm.c.

This commit is contained in:
Giovanni Mascellani 2024-07-29 22:43:59 +02:00 committed by Henri Verbeet
parent 5af138b247
commit 8e08fa6bf2
Notes: Henri Verbeet 2024-07-30 16:38:27 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/970

View File

@ -1919,7 +1919,7 @@ static void shader_dump_icb(struct vkd3d_d3d_asm_compiler *compiler,
}
else
{
assert(icb->component_count == VKD3D_VEC4_SIZE);
VKD3D_ASSERT(icb->component_count == VKD3D_VEC4_SIZE);
for (i = 0; i < icb->element_count; ++i)
{
shader_print_hex_literal(compiler, " {", icb->data[4 * i + 0], "");