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