dawn-cmake/test/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.spvasm.expected.spvasm

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 %color_out "color_out"
OpName %color_in "color_in"
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 "color_out_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
%color_out = OpVariable %_ptr_Private_v4float Private %5
%color_in = 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 %color_in
OpStore %color_out %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 %color_in %24
%25 = OpFunctionCall %void %main_1
%27 = OpLoad %v4float %color_out
%28 = OpCompositeConstruct %main_out %27
%26 = OpFunctionCall %void %tint_symbol_3 %28
OpReturn
OpFunctionEnd