• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_Output_FlattenStruct_LocOnVariable.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 13
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Vertex %3 "main" %1 %gl_Position
10OpName %Communicators "Communicators"
11OpMemberName %Communicators 0 "alice"
12OpMemberName %Communicators 1 "bob"
13OpDecorate %1 Location 9
14OpDecorate %gl_Position BuiltIn Position
15%void = OpTypeVoid
16%6 = OpTypeFunction %void
17%float = OpTypeFloat 32
18%v4float = OpTypeVector %float 4
19%Communicators = OpTypeStruct %float %v4float
20%_ptr_Output_Communicators = OpTypePointer Output %Communicators
21%1 = OpVariable %_ptr_Output_Communicators Output
22%_ptr_Output_v4float = OpTypePointer Output %v4float
23%gl_Position = OpVariable %_ptr_Output_v4float Output
24%3 = OpFunction %void None %6
25%9 = OpLabel
26OpReturn
27OpFunctionEnd
28
29