60 lines
2.4 KiB
Plaintext
60 lines
2.4 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 29
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %tint_symbol %tint_symbol_2
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpName %x_GLF_color "x_GLF_color"
|
|
OpName %frag_color "frag_color"
|
|
OpName %tint_symbol "tint_symbol"
|
|
OpName %tint_symbol_2 "tint_symbol_2"
|
|
OpName %main_1 "main_1"
|
|
OpName %main_out "main_out"
|
|
OpMemberName %main_out 0 "x_GLF_color_1"
|
|
OpName %tint_symbol_3 "tint_symbol_3"
|
|
OpName %tint_symbol_1 "tint_symbol_1"
|
|
OpName %main "main"
|
|
OpDecorate %tint_symbol Location 0
|
|
OpDecorate %tint_symbol_2 Location 0
|
|
OpMemberDecorate %main_out 0 Offset 0
|
|
%float = OpTypeFloat 32
|
|
%v4float = OpTypeVector %float 4
|
|
%_ptr_Private_v4float = OpTypePointer Private %v4float
|
|
%5 = OpConstantNull %v4float
|
|
%x_GLF_color = OpVariable %_ptr_Private_v4float Private %5
|
|
%frag_color = OpVariable %_ptr_Private_v4float Private %5
|
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
|
%tint_symbol = OpVariable %_ptr_Input_v4float Input
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
|
%tint_symbol_2 = OpVariable %_ptr_Output_v4float Output %5
|
|
%void = OpTypeVoid
|
|
%11 = OpTypeFunction %void
|
|
%main_out = OpTypeStruct %v4float
|
|
%16 = OpTypeFunction %void %main_out
|
|
%main_1 = OpFunction %void None %11
|
|
%14 = OpLabel
|
|
%15 = OpLoad %v4float %frag_color
|
|
OpStore %x_GLF_color %15
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%tint_symbol_3 = OpFunction %void None %16
|
|
%tint_symbol_1 = OpFunctionParameter %main_out
|
|
%20 = OpLabel
|
|
%21 = OpCompositeExtract %v4float %tint_symbol_1 0
|
|
OpStore %tint_symbol_2 %21
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%main = OpFunction %void None %11
|
|
%23 = OpLabel
|
|
%24 = OpLoad %v4float %tint_symbol
|
|
OpStore %frag_color %24
|
|
%25 = OpFunctionCall %void %main_1
|
|
%27 = OpLoad %v4float %x_GLF_color
|
|
%28 = OpCompositeConstruct %main_out %27
|
|
%26 = OpFunctionCall %void %tint_symbol_3 %28
|
|
OpReturn
|
|
OpFunctionEnd
|