dawn-cmake/test/matrix/constructor/elements
James Price 91689fb6f0 Add support for matrix construction from scalars
Use a transform to convert these to the vector form for the MSL and
SPIR-V backends.

MSL only has the scalar form from version 2.0 onwards.

Fixed: tint:1123
Change-Id: I384abd9872d9eae52a10a37cbd6aa96004692e9c
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67360
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-10-25 19:20:31 +00:00
..
mat2x2.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x2.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x2.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x2.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x2.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x3.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x3.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x3.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x3.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x3.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x4.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x4.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x4.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x4.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat2x4.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x2.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x2.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x2.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x2.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x2.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x3.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x3.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x3.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x3.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x3.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x4.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x4.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x4.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x4.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat3x4.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x2.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x2.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x2.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x2.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x2.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x3.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x3.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x3.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x3.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x3.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x4.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x4.wgsl.expected.hlsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x4.wgsl.expected.msl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x4.wgsl.expected.spvasm Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
mat4x4.wgsl.expected.wgsl Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00