vkd3d-shader/hlsl: Abort on inconsistent types in write_sm4_cast().

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Francisco Casas <fcasas@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Giovanni Mascellani 2022-04-05 12:33:08 +02:00 committed by Alexandre Julliard
parent 4739cf1d33
commit c63fbbda06

View File

@ -1475,7 +1475,7 @@ static void write_sm4_cast(struct hlsl_ctx *ctx,
break;
default:
break;
assert(0);
}
break;
@ -1501,7 +1501,7 @@ static void write_sm4_cast(struct hlsl_ctx *ctx,
break;
default:
break;
assert(0);
}
break;
@ -1527,7 +1527,7 @@ static void write_sm4_cast(struct hlsl_ctx *ctx,
break;
default:
break;
assert(0);
}
break;