[PATCH vkd3d] vkd3d-shader: Skip generating SM1 array operations.
Matteo Bruni
mbruni at codeweavers.com
Wed Aug 11 06:49:45 CDT 2021
Eventually they will be split or otherwise transformed before getting
here.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
libs/vkd3d-shader/hlsl_sm1.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libs/vkd3d-shader/hlsl_sm1.c b/libs/vkd3d-shader/hlsl_sm1.c
index 8ea663dc..f351db9a 100644
--- a/libs/vkd3d-shader/hlsl_sm1.c
+++ b/libs/vkd3d-shader/hlsl_sm1.c
@@ -768,6 +768,11 @@ static void write_sm1_instructions(struct hlsl_ctx *ctx, struct vkd3d_bytecode_b
FIXME("Matrix operations need to be lowered.\n");
break;
}
+ if (instr->data_type->type == HLSL_CLASS_ARRAY)
+ {
+ FIXME("Array operations need to be split.\n");
+ break;
+ }
assert(instr->data_type->type == HLSL_CLASS_SCALAR || instr->data_type->type == HLSL_CLASS_VECTOR);
}
--
2.26.3
More information about the wine-devel
mailing list