• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTest_EmitFunctions_Function_EntryPoint_WorkgroupSize_MixedConstantSpecConstant.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 GLCompute %1 "comp_main"
10OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
11OpDecorate %3 SpecId 0
12OpDecorate %4 SpecId 2
13%void = OpTypeVoid
14%6 = OpTypeFunction %void
15%float = OpTypeFloat 32
16%uint = OpTypeInt 32 0
17%int = OpTypeInt 32 1
18%v3uint = OpTypeVector %uint 3
19%3 = OpSpecConstant %uint 3
20%uint_5 = OpConstant %uint 5
21%4 = OpSpecConstant %uint 7
22%gl_WorkGroupSize = OpSpecConstantComposite %v3uint %3 %uint_5 %4
23%1 = OpFunction %void None %6
24%12 = OpLabel
25OpReturn
26OpFunctionEnd
27
28