• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserMemoryTest_EmitStatement_AccessChain_InferFunctionStorageClass.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 9
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %3 "main"
10OpExecutionMode %3 OriginUpperLeft
11%uint = OpTypeInt 32 0
12%_ptr_Function_uint = OpTypePointer Function %uint
13%void = OpTypeVoid
14%7 = OpTypeFunction %void
15%3 = OpFunction %void None %7
16%8 = OpLabel
17%1 = OpVariable %_ptr_Function_uint Function
18%2 = OpAccessChain %_ptr_Function_uint %1
19OpReturn
20OpFunctionEnd
21
22