• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_6.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 14
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint GLCompute %3 "main" %gl_WorkGroupID
10OpExecutionMode %3 LocalSize 1 1 1
11OpDecorate %gl_WorkGroupID BuiltIn WorkgroupId
12%void = OpTypeVoid
13%5 = OpTypeFunction %void
14%float = OpTypeFloat 32
15%uint = OpTypeInt 32 0
16%int = OpTypeInt 32 1
17%v3uint = OpTypeVector %uint 3
18%v3int = OpTypeVector %int 3
19%_ptr_Input_v3uint = OpTypePointer Input %v3uint
20%gl_WorkGroupID = OpVariable %_ptr_Input_v3uint Input
21%3 = OpFunction %void None %5
22%12 = OpLabel
23%13 = OpCopyObject %_ptr_Input_v3uint %gl_WorkGroupID
24%2 = OpLoad %v3uint %13
25OpReturn
26OpFunctionEnd
27
28