| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 26 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Vertex %main "main" %main_position_Output %main___point_size_Output |
| OpName %main_position_Output "main_position_Output" |
| OpName %main___point_size_Output "main___point_size_Output" |
| OpName %main_inner "main_inner" |
| OpName %light "light" |
| OpName %negative_light "negative_light" |
| OpName %main "main" |
| OpDecorate %main_position_Output BuiltIn Position |
| OpDecorate %main___point_size_Output BuiltIn PointSize |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %main_position_Output = OpVariable %_ptr_Output_v4float Output |
| %_ptr_Output_float = OpTypePointer Output %float |
| %main___point_size_Output = OpVariable %_ptr_Output_float Output |
| %8 = OpTypeFunction %v4float |
| %v3float = OpTypeVector %float 3 |
| %_ptr_Function_v3float = OpTypePointer Function %v3float |
| %float_1_20000005 = OpConstant %float 1.20000005 |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %13 = OpConstantComposite %v3float %float_1_20000005 %float_1 %float_2 |
| %20 = OpConstantNull %v4float |
| %void = OpTypeVoid |
| %23 = OpTypeFunction %void |
| %main_inner = OpFunction %v4float None %8 |
| %9 = OpLabel |
| %light = OpVariable %_ptr_Function_v3float Function |
| %negative_light = OpVariable %_ptr_Function_v3float Function |
| OpStore %light %13 |
| %17 = OpLoad %v3float %light None |
| %18 = OpFNegate %v3float %17 |
| OpStore %negative_light %18 |
| OpReturnValue %20 |
| OpFunctionEnd |
| %main = OpFunction %void None %23 |
| %24 = OpLabel |
| %25 = OpFunctionCall %v4float %main_inner |
| OpStore %main_position_Output %25 None |
| OpStore %main___point_size_Output %float_1 None |
| OpReturn |
| OpFunctionEnd |