Matteo Bruni : vkd3d-shader/hlsl: Report failure when encountering matrix instructions.

Alexandre Julliard julliard at winehq.org
Tue Apr 5 15:38:53 CDT 2022


Module: vkd3d
Branch: master
Commit: 428a6b403384c401a4cd3104422bd2d95ed894c1
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=428a6b403384c401a4cd3104422bd2d95ed894c1

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Apr  5 12:33:03 2022 +0200

vkd3d-shader/hlsl: Report failure when encountering matrix instructions.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d-shader/hlsl_sm4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d-shader/hlsl_sm4.c b/libs/vkd3d-shader/hlsl_sm4.c
index 94765f9e..9b6fa371 100644
--- a/libs/vkd3d-shader/hlsl_sm4.c
+++ b/libs/vkd3d-shader/hlsl_sm4.c
@@ -2067,7 +2067,7 @@ static void write_sm4_block(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *
         {
             if (instr->data_type->type == HLSL_CLASS_MATRIX)
             {
-                FIXME("Matrix operations need to be lowered.\n");
+                hlsl_fixme(ctx, &instr->loc, "Matrix operations need to be lowered.");
                 break;
             }
             else if (instr->data_type->type == HLSL_CLASS_OBJECT)




More information about the wine-cvs mailing list