dawn-cmake/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.sp...

114 lines
4.8 KiB
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 56
; Schema: 0
OpCapability Shader
OpCapability ImageQuery
OpMemoryModel Logical GLSL450
OpEntryPoint Vertex %vertex_main "vertex_main" %tint_symbol_1_1_1 %vertex_point_size
OpEntryPoint Fragment %fragment_main "fragment_main"
OpEntryPoint GLCompute %compute_main "compute_main"
OpExecutionMode %fragment_main OriginUpperLeft
OpExecutionMode %compute_main LocalSize 1 1 1
OpName %tint_symbol_1_1_1 "tint_symbol_1_1_1"
OpName %vertex_point_size "vertex_point_size"
OpName %arg_0 "arg_0"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %textureNumSamples_a3c8a0 "textureNumSamples_a3c8a0"
OpName %res "res"
OpName %tint_symbol_2 "tint_symbol_2"
OpName %tint_symbol "tint_symbol"
OpName %vertex_main_1 "vertex_main_1"
OpName %vertex_main_out "vertex_main_out"
OpMemberName %vertex_main_out 0 "tint_symbol_1_1"
OpName %vertex_main_inner "vertex_main_inner"
OpName %vertex_main "vertex_main"
OpName %fragment_main_1 "fragment_main_1"
OpName %fragment_main "fragment_main"
OpName %compute_main_1 "compute_main_1"
OpName %compute_main "compute_main"
OpDecorate %tint_symbol_1_1_1 BuiltIn Position
OpDecorate %vertex_point_size BuiltIn PointSize
OpDecorate %arg_0 DescriptorSet 1
OpDecorate %arg_0 Binding 0
OpMemberDecorate %vertex_main_out 0 Offset 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%5 = OpConstantNull %v4float
%tint_symbol_1_1_1 = OpVariable %_ptr_Output_v4float Output %5
%_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%_ptr_Private_v4float = OpTypePointer Private %v4float
%tint_symbol_1 = OpVariable %_ptr_Private_v4float Private %5
%void = OpTypeVoid
%14 = OpTypeFunction %void
%int = OpTypeInt 32 1
%19 = OpConstantNull %int
%_ptr_Function_int = OpTypePointer Function %int
%24 = OpTypeFunction %void %v4float
%vertex_main_out = OpTypeStruct %v4float
%32 = OpTypeFunction %vertex_main_out
%float_1 = OpConstant %float 1
%textureNumSamples_a3c8a0 = OpFunction %void None %14
%17 = OpLabel
%res = OpVariable %_ptr_Function_int Function %19
OpStore %res %19
%23 = OpLoad %11 %arg_0
%22 = OpImageQuerySamples %int %23
OpStore %res %22
OpReturn
OpFunctionEnd
%tint_symbol_2 = OpFunction %void None %24
%tint_symbol = OpFunctionParameter %v4float
%27 = OpLabel
OpStore %tint_symbol_1 %tint_symbol
OpReturn
OpFunctionEnd
%vertex_main_1 = OpFunction %void None %14
%29 = OpLabel
%30 = OpFunctionCall %void %textureNumSamples_a3c8a0
%31 = OpFunctionCall %void %tint_symbol_2 %5
OpReturn
OpFunctionEnd
%vertex_main_inner = OpFunction %vertex_main_out None %32
%35 = OpLabel
%36 = OpFunctionCall %void %vertex_main_1
%37 = OpLoad %v4float %tint_symbol_1
%38 = OpCompositeConstruct %vertex_main_out %37
OpReturnValue %38
OpFunctionEnd
%vertex_main = OpFunction %void None %14
%40 = OpLabel
%41 = OpFunctionCall %vertex_main_out %vertex_main_inner
%42 = OpCompositeExtract %v4float %41 0
OpStore %tint_symbol_1_1_1 %42
OpStore %vertex_point_size %float_1
OpReturn
OpFunctionEnd
%fragment_main_1 = OpFunction %void None %14
%45 = OpLabel
%46 = OpFunctionCall %void %textureNumSamples_a3c8a0
OpReturn
OpFunctionEnd
%fragment_main = OpFunction %void None %14
%48 = OpLabel
%49 = OpFunctionCall %void %fragment_main_1
OpReturn
OpFunctionEnd
%compute_main_1 = OpFunction %void None %14
%51 = OpLabel
%52 = OpFunctionCall %void %textureNumSamples_a3c8a0
OpReturn
OpFunctionEnd
%compute_main = OpFunction %void None %14
%54 = OpLabel
%55 = OpFunctionCall %void %compute_main_1
OpReturn
OpFunctionEnd