| 1 |
OpCapability Shader |
| 2 |
%1 = OpExtInstImport "GLSL.std.450" |
| 3 |
OpMemoryModel Logical GLSL450 |
| 4 |
OpEntryPoint GLCompute %main "main" |
| 5 |
OpExecutionMode %main LocalSize 1 1 1 |
| 6 |
OpSource GLSL 450 |
| 7 |
OpName %main "main" |
| 8 |
OpDecorate %7 SpecId 3 |
| 9 |
OpDecorate %8 SpecId 4 |
| 10 |
OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize |
| 11 |
%void = OpTypeVoid |
| 12 |
%3 = OpTypeFunction %void |
| 13 |
%uint = OpTypeInt 32 0 |
| 14 |
%7 = OpSpecConstant %uint 2048 |
| 15 |
%8 = OpSpecConstant %uint 1 |
| 16 |
%uint_1 = OpConstant %uint 1 |
| 17 |
%v3uint = OpTypeVector %uint 3 |
| 18 |
%gl_WorkGroupSize = OpSpecConstantComposite %v3uint %7 %8 %uint_1 |
| 19 |
%main = OpFunction %void None %3 |
| 20 |
%5 = OpLabel |
| 21 |
OpReturn |
| 22 |
OpFunctionEnd |