blob: 45ce944fd927d29eb07709a87f7ff85f2800c722 [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvBinaryArithTestBasic_VectorTimesMatrix.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%23 = OpConstantComposite %v2uint %uint_10 %uint_20
31%24 = OpConstantComposite %v2uint %uint_20 %uint_10
32%25 = OpConstantComposite %v2int %int_30 %int_40
33%26 = OpConstantComposite %v2int %int_40 %int_30
34%27 = OpConstantComposite %v2float %float_50 %float_60
35%28 = OpConstantComposite %v2float %float_60 %float_50
36%29 = OpConstantComposite %v3float %float_50 %float_60 %float_70
37%30 = OpConstantComposite %v3float %float_60 %float_70 %float_50
38%mat2v2float = OpTypeMatrix %v2float 2
39%mat2v3float = OpTypeMatrix %v3float 2
40%mat3v2float = OpTypeMatrix %v2float 3
41%34 = OpConstantComposite %mat2v2float %27 %28
42%35 = OpConstantComposite %mat2v2float %28 %27
43%36 = OpConstantComposite %mat3v2float %27 %28 %27
44%37 = OpConstantComposite %mat2v3float %29 %30
45%100 = OpFunction %void None %4
46%38 = OpLabel
47%1 = OpCopyObject %mat2v2float %34
48%2 = OpCopyObject %v2float %27
49%10 = OpMatrixTimesVector %v2float %1 %2
50OpReturn
51OpFunctionEnd
52