2021-07-06 09:43:49 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2021-08-05 17:34:19 +00:00
|
|
|
; Bound: 25
|
2021-07-06 09:43:49 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
2021-08-05 17:34:19 +00:00
|
|
|
OpEntryPoint Fragment %main "main" %out_var_SV_TARGET_1_1
|
2021-07-06 09:43:49 +00:00
|
|
|
OpExecutionMode %main OriginUpperLeft
|
2021-08-05 17:34:19 +00:00
|
|
|
OpName %out_var_SV_TARGET_1_1 "out_var_SV_TARGET_1_1"
|
2021-07-06 09:43:49 +00:00
|
|
|
OpName %out_var_SV_TARGET "out_var_SV_TARGET"
|
|
|
|
OpName %main_1 "main_1"
|
|
|
|
OpName %main_out "main_out"
|
|
|
|
OpMemberName %main_out 0 "out_var_SV_TARGET_1"
|
2021-08-05 17:34:19 +00:00
|
|
|
OpName %main_inner "main_inner"
|
2021-07-06 09:43:49 +00:00
|
|
|
OpName %main "main"
|
2021-08-05 17:34:19 +00:00
|
|
|
OpDecorate %out_var_SV_TARGET_1_1 Location 0
|
2021-07-06 09:43:49 +00:00
|
|
|
OpMemberDecorate %main_out 0 Offset 0
|
|
|
|
%float = OpTypeFloat 32
|
|
|
|
%v4float = OpTypeVector %float 4
|
2021-08-05 17:34:19 +00:00
|
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
2021-07-06 09:43:49 +00:00
|
|
|
%5 = OpConstantNull %v4float
|
2021-08-05 17:34:19 +00:00
|
|
|
%out_var_SV_TARGET_1_1 = OpVariable %_ptr_Output_v4float Output %5
|
|
|
|
%_ptr_Private_v4float = OpTypePointer Private %v4float
|
2021-07-06 09:43:49 +00:00
|
|
|
%out_var_SV_TARGET = OpVariable %_ptr_Private_v4float Private %5
|
|
|
|
%void = OpTypeVoid
|
|
|
|
%8 = OpTypeFunction %void
|
|
|
|
%float_0x1p_128 = OpConstant %float 0x1p+128
|
|
|
|
%13 = OpConstantComposite %v4float %float_0x1p_128 %float_0x1p_128 %float_0x1p_128 %float_0x1p_128
|
|
|
|
%main_out = OpTypeStruct %v4float
|
2021-08-05 17:34:19 +00:00
|
|
|
%14 = OpTypeFunction %main_out
|
2021-07-06 09:43:49 +00:00
|
|
|
%main_1 = OpFunction %void None %8
|
|
|
|
%11 = OpLabel
|
|
|
|
OpStore %out_var_SV_TARGET %13
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2021-08-05 17:34:19 +00:00
|
|
|
%main_inner = OpFunction %main_out None %14
|
|
|
|
%17 = OpLabel
|
|
|
|
%18 = OpFunctionCall %void %main_1
|
|
|
|
%19 = OpLoad %v4float %out_var_SV_TARGET
|
|
|
|
%20 = OpCompositeConstruct %main_out %19
|
|
|
|
OpReturnValue %20
|
2021-07-06 09:43:49 +00:00
|
|
|
OpFunctionEnd
|
|
|
|
%main = OpFunction %void None %8
|
2021-08-05 17:34:19 +00:00
|
|
|
%22 = OpLabel
|
|
|
|
%23 = OpFunctionCall %main_out %main_inner
|
|
|
|
%24 = OpCompositeExtract %v4float %23 0
|
|
|
|
OpStore %out_var_SV_TARGET_1_1 %24
|
2021-07-06 09:43:49 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|