-
Notifications
You must be signed in to change notification settings - Fork 628
Open
Labels
questionFurther progress depends on answer from issue creator.Further progress depends on answer from issue creator.
Description
the following matrix in HLSL:
float4x3 normalMatrix;
Gets translated to MSL as:
float3x4 normalMatrix;
Although the matrix dimensions are correct, the data does not seem to be copied correctly. For instance, an identity matrix ends up in MSL as:
| 1 | 0 | 0 | 0 |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 0 |
It looks like we are properly generating a float3x4 matrix but with column-major data layout.
Metadata
Metadata
Assignees
Labels
questionFurther progress depends on answer from issue creator.Further progress depends on answer from issue creator.