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