dawn-cmake/test/vk-gl-cts/rasterization/line_continuity/line-strip/0.wgsl.expected.spvasm

51 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-07-23 13:10:12 +00:00
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 25
2021-07-23 13:10:12 +00:00
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %color_1_1
2021-07-23 13:10:12 +00:00
OpExecutionMode %main OriginUpperLeft
OpName %color_1_1 "color_1_1"
2021-07-23 13:10:12 +00:00
OpName %color "color"
OpName %main_1 "main_1"
OpName %main_out "main_out"
OpMemberName %main_out 0 "color_1"
OpName %main_inner "main_inner"
2021-07-23 13:10:12 +00:00
OpName %main "main"
OpDecorate %color_1_1 Location 0
2021-07-23 13:10:12 +00:00
OpMemberDecorate %main_out 0 Offset 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
2021-07-23 13:10:12 +00:00
%5 = OpConstantNull %v4float
%color_1_1 = OpVariable %_ptr_Output_v4float Output %5
%_ptr_Private_v4float = OpTypePointer Private %v4float
2021-07-23 13:10:12 +00:00
%color = OpVariable %_ptr_Private_v4float Private %5
%void = OpTypeVoid
%8 = OpTypeFunction %void
%float_1 = OpConstant %float 1
%13 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
%main_out = OpTypeStruct %v4float
%14 = OpTypeFunction %main_out
2021-07-23 13:10:12 +00:00
%main_1 = OpFunction %void None %8
%11 = OpLabel
OpStore %color %13
OpReturn
OpFunctionEnd
%main_inner = OpFunction %main_out None %14
%17 = OpLabel
%18 = OpFunctionCall %void %main_1
%19 = OpLoad %v4float %color
%20 = OpCompositeConstruct %main_out %19
OpReturnValue %20
2021-07-23 13:10:12 +00:00
OpFunctionEnd
%main = OpFunction %void None %8
%22 = OpLabel
%23 = OpFunctionCall %main_out %main_inner
%24 = OpCompositeExtract %v4float %23 0
OpStore %color_1_1 %24
2021-07-23 13:10:12 +00:00
OpReturn
OpFunctionEnd