blob: c4177ff7580a9141a30c1d1767aab731da44766d [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvParserTest_BitwiseOr_SpvBinaryBitTest_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%_ptr_Function_uint = OpTypePointer Function %uint
23%_ptr_Function_int = OpTypePointer Function %int
24%_ptr_Function_float = OpTypePointer Function %float
25%v2uint = OpTypeVector %uint 2
26%v2int = OpTypeVector %int 2
27%v2float = OpTypeVector %float 2
28%19 = OpConstantComposite %v2uint %uint_10 %uint_20
29%20 = OpConstantComposite %v2uint %uint_20 %uint_10
30%21 = OpConstantComposite %v2int %int_30 %int_40
31%22 = OpConstantComposite %v2int %int_40 %int_30
32%23 = OpConstantComposite %v2float %float_50 %float_60
33%24 = OpConstantComposite %v2float %float_60 %float_50
34%100 = OpFunction %void None %3
35%25 = OpLabel
36%1 = OpBitwiseOr %v2uint %19 %20
37OpReturn
38OpFunctionEnd
39