chrysanthemum 0.0.1

A toy pure-functional language that compiles to SPIR-V
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Vertex %14 "_vertex_entry"
OpEntryPoint Fragment %16 "_fragment_entry"
OpExecutionMode %16 OriginUpperLeft
OpName %7 "vertex"
OpName %10 "fragment"
%1 = OpTypeFloat 32
%2 = OpTypeStruct %1 %1 %1 %1
%3 = OpTypeFunction %2
%4 = OpTypeFunction %2 %2
%5 = OpTypeBool
%6 = OpTypeVoid
%9 = OpConstant  %1  1.0
%13 = OpTypeFunction %6
%7 = OpFunction  %2  DontInline|Pure|Const %3
%8 = OpLabel
OpReturnValue %0
OpFunctionEnd
%10 = OpFunction  %2  DontInline|Pure|Const %4
%11 = OpFunctionParameter  %2 
%12 = OpLabel
OpReturnValue %11
OpFunctionEnd
%14 = OpFunction  %6  DontInline|Const %13
%15 = OpLabel
OpReturn
OpFunctionEnd
%16 = OpFunction  %6  DontInline|Const %13
%17 = OpLabel
OpReturn
OpFunctionEnd