blob: 8ab3975fdebe6f25336f1567483343730f5bc2ca [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvUnaryArithTest_Transpose_2x2.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 101
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%4 = OpTypeFunction %void
13%uint = OpTypeInt 32 0
14%int = OpTypeInt 32 1
15%float = OpTypeFloat 32
16%uint_10 = OpConstant %uint 10
17%uint_20 = OpConstant %uint 20
18%int_30 = OpConstant %int 30
19%int_40 = OpConstant %int 40
20%float_50 = OpConstant %float 50
21%float_60 = OpConstant %float 60
22%float_70 = OpConstant %float 70
23%_ptr_Function_uint = OpTypePointer Function %uint
24%_ptr_Function_int = OpTypePointer Function %int
25%_ptr_Function_float = OpTypePointer Function %float
26%v2uint = OpTypeVector %uint 2
27%v2int = OpTypeVector %int 2
28%v2float = OpTypeVector %float 2
29%v3float = OpTypeVector %float 3
30%22 = OpConstantComposite %v2uint %uint_10 %uint_20
31%23 = OpConstantComposite %v2uint %uint_20 %uint_10
32%24 = OpConstantComposite %v2int %int_30 %int_40
33%25 = OpConstantComposite %v2int %int_40 %int_30
34%26 = OpConstantComposite %v2float %float_50 %float_60
35%27 = OpConstantComposite %v2float %float_60 %float_50
36%28 = OpConstantComposite %v3float %float_50 %float_60 %float_70
37%29 = OpConstantComposite %v3float %float_60 %float_70 %float_50
38%mat2v2float = OpTypeMatrix %v2float 2
39%mat2v3float = OpTypeMatrix %v3float 2
40%mat3v2float = OpTypeMatrix %v2float 3
41%33 = OpConstantComposite %mat2v2float %26 %27
42%34 = OpConstantComposite %mat2v2float %27 %26
43%35 = OpConstantComposite %mat3v2float %26 %27 %26
44%36 = OpConstantComposite %mat2v3float %28 %29
45%100 = OpFunction %void None %4
46%37 = OpLabel
47%1 = OpCopyObject %mat2v2float %33
48%2 = OpTranspose %mat2v2float %1
49OpReturn
50OpFunctionEnd
51