• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserMemoryTest_EmitStatement_AccessChain_DereferenceBase.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 201
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%5 = OpTypeFunction %void
13%uint = OpTypeInt 32 0
14%v2uint = OpTypeVector %uint 2
15%_ptr_Private_uint = OpTypePointer Private %uint
16%_ptr_Private_v2uint = OpTypePointer Private %v2uint
17%10 = OpTypeFunction %void %_ptr_Private_v2uint
18%uint_0 = OpConstant %uint 0
19%200 = OpFunction %void None %10
20%1 = OpFunctionParameter %_ptr_Private_v2uint
21%12 = OpLabel
22%2 = OpAccessChain %_ptr_Private_uint %1 %uint_0
23%3 = OpLoad %uint %2
24OpReturn
25OpFunctionEnd
26%100 = OpFunction %void None %5
27%13 = OpLabel
28OpReturn
29OpFunctionEnd
30
31