mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Replace assert() with VKD3D_ASSERT() in d3d_asm.c.
This commit is contained in:
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
@ -1919,7 +1919,7 @@ static void shader_dump_icb(struct vkd3d_d3d_asm_compiler *compiler,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(icb->component_count == VKD3D_VEC4_SIZE);
|
VKD3D_ASSERT(icb->component_count == VKD3D_VEC4_SIZE);
|
||||||
for (i = 0; i < icb->element_count; ++i)
|
for (i = 0; i < icb->element_count; ++i)
|
||||||
{
|
{
|
||||||
shader_print_hex_literal(compiler, " {", icb->data[4 * i + 0], "");
|
shader_print_hex_literal(compiler, " {", icb->data[4 * i + 0], "");
|
||||||
|
Loading…
Reference in New Issue
Block a user