blob: bedbf26e28afb9fd4c272639b85ac0370afa54c3 [file] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 46
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main0 "main0" %main0_loc0_Output
OpEntryPoint Fragment %main1 "main1" %main1_loc1_Output
OpEntryPoint Fragment %main2 "main2" %main2_loc2_Output
OpEntryPoint Fragment %main3 "main3" %main3_loc3_Output
OpExecutionMode %main0 OriginUpperLeft
OpExecutionMode %main1 OriginUpperLeft
OpExecutionMode %main2 OriginUpperLeft
OpExecutionMode %main3 OriginUpperLeft
OpName %main0_loc0_Output "main0_loc0_Output"
OpName %main1_loc1_Output "main1_loc1_Output"
OpName %main2_loc2_Output "main2_loc2_Output"
OpName %main3_loc3_Output "main3_loc3_Output"
OpName %main0_inner "main0_inner"
OpName %main1_inner "main1_inner"
OpName %main2_inner "main2_inner"
OpName %main3_inner "main3_inner"
OpName %main0 "main0"
OpName %main1 "main1"
OpName %main2 "main2"
OpName %main3 "main3"
OpDecorate %main0_loc0_Output Location 0
OpDecorate %main1_loc1_Output Location 1
OpDecorate %main2_loc2_Output Location 2
OpDecorate %main3_loc3_Output Location 3
%int = OpTypeInt 32 1
%_ptr_Output_int = OpTypePointer Output %int
%main0_loc0_Output = OpVariable %_ptr_Output_int Output
%uint = OpTypeInt 32 0
%_ptr_Output_uint = OpTypePointer Output %uint
%main1_loc1_Output = OpVariable %_ptr_Output_uint Output
%float = OpTypeFloat 32
%_ptr_Output_float = OpTypePointer Output %float
%main2_loc2_Output = OpVariable %_ptr_Output_float Output
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%main3_loc3_Output = OpVariable %_ptr_Output_v4float Output
%14 = OpTypeFunction %int
%int_1 = OpConstant %int 1
%18 = OpTypeFunction %uint
%uint_1 = OpConstant %uint 1
%22 = OpTypeFunction %float
%float_1 = OpConstant %float 1
%26 = OpTypeFunction %v4float
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%float_4 = OpConstant %float 4
%28 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
%void = OpTypeVoid
%34 = OpTypeFunction %void
%main0_inner = OpFunction %int None %14
%15 = OpLabel
OpReturnValue %int_1
OpFunctionEnd
%main1_inner = OpFunction %uint None %18
%19 = OpLabel
OpReturnValue %uint_1
OpFunctionEnd
%main2_inner = OpFunction %float None %22
%23 = OpLabel
OpReturnValue %float_1
OpFunctionEnd
%main3_inner = OpFunction %v4float None %26
%27 = OpLabel
OpReturnValue %28
OpFunctionEnd
%main0 = OpFunction %void None %34
%35 = OpLabel
%36 = OpFunctionCall %int %main0_inner
OpStore %main0_loc0_Output %36 None
OpReturn
OpFunctionEnd
%main1 = OpFunction %void None %34
%38 = OpLabel
%39 = OpFunctionCall %uint %main1_inner
OpStore %main1_loc1_Output %39 None
OpReturn
OpFunctionEnd
%main2 = OpFunction %void None %34
%41 = OpLabel
%42 = OpFunctionCall %float %main2_inner
OpStore %main2_loc2_Output %42 None
OpReturn
OpFunctionEnd
%main3 = OpFunction %void None %34
%44 = OpLabel
%45 = OpFunctionCall %v4float %main3_inner
OpStore %main3_loc3_Output %45 None
OpReturn
OpFunctionEnd