1OpCapability Geometry
2%1 = OpExtInstImport "GLSL.std.450"
3OpMemoryModel Logical GLSL450
4OpEntryPoint Geometry %main "main" %3 %8 %sk_InvocationID
5OpExecutionMode %main InputPoints
6OpExecutionMode %main OutputLineStrip
7OpExecutionMode %main OutputVertices 2
8OpExecutionMode %main Invocations 2
9OpName %sk_PerVertex "sk_PerVertex"
10OpMemberName %sk_PerVertex 0 "sk_Position"
11OpMemberName %sk_PerVertex 1 "sk_PointSize"
12OpName %sk_InvocationID "sk_InvocationID"
13OpName %main "main"
14OpMemberDecorate %sk_PerVertex 0 BuiltIn Position
15OpMemberDecorate %sk_PerVertex 1 BuiltIn PointSize
16OpDecorate %_arr_sk_PerVertex_int_1 ArrayStride 32
17OpDecorate %sk_InvocationID BuiltIn InvocationId
18%float = OpTypeFloat 32
19%v4float = OpTypeVector %float 4
20%sk_PerVertex = OpTypeStruct %v4float %float
21%_ptr_Output_sk_PerVertex = OpTypePointer Output %sk_PerVertex
22%3 = OpVariable %_ptr_Output_sk_PerVertex Output
23%int = OpTypeInt 32 1
24%int_1 = OpConstant %int 1
25%_arr_sk_PerVertex_int_1 = OpTypeArray %sk_PerVertex %int_1
26%_ptr_Input__arr_sk_PerVertex_int_1 = OpTypePointer Input %_arr_sk_PerVertex_int_1
27%8 = OpVariable %_ptr_Input__arr_sk_PerVertex_int_1 Input
28%_ptr_Input_int = OpTypePointer Input %int
29%sk_InvocationID = OpVariable %_ptr_Input_int Input
30%void = OpTypeVoid
31%16 = OpTypeFunction %void
32%int_0 = OpConstant %int 0
33%_ptr_Input_v4float = OpTypePointer Input %v4float
34%float_n0_5 = OpConstant %float -0.5
35%float_0 = OpConstant %float 0
36%_ptr_Output_v4float = OpTypePointer Output %v4float
37%float_0_5 = OpConstant %float 0.5
38%main = OpFunction %void None %16
39%17 = OpLabel
40%19 = OpAccessChain %_ptr_Input_v4float %8 %int_0 %int_0
41%21 = OpLoad %v4float %19
42%24 = OpLoad %int %sk_InvocationID
43%25 = OpConvertSToF %float %24
44%26 = OpCompositeConstruct %v4float %float_n0_5 %float_0 %float_0 %25
45%27 = OpFAdd %v4float %21 %26
46%28 = OpAccessChain %_ptr_Output_v4float %3 %int_0
47OpStore %28 %27
48OpEmitVertex
49%31 = OpAccessChain %_ptr_Input_v4float %8 %int_0 %int_0
50%32 = OpLoad %v4float %31
51%34 = OpLoad %int %sk_InvocationID
52%35 = OpConvertSToF %float %34
53%36 = OpCompositeConstruct %v4float %float_0_5 %float_0 %float_0 %35
54%37 = OpFAdd %v4float %32 %36
55%38 = OpAccessChain %_ptr_Output_v4float %3 %int_0
56OpStore %38 %37
57OpEmitVertex
58OpEndPrimitive
59OpReturn
60OpFunctionEnd
61