| 1234567891011121314151617181920212223 |
- ;; Tests OpSpecConstantComposite matching.
- OpCapability Shader
- %1 = OpExtInstImport "GLSL.std.450"
- OpMemoryModel Logical GLSL450
- OpEntryPoint GLCompute %main "main"
- OpExecutionMode %main LocalSize 1 1 1
- OpSource GLSL 450
- OpName %main "main"
- OpDecorate %7 SpecId 3
- OpDecorate %8 SpecId 4
- OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
- %void = OpTypeVoid
- %3 = OpTypeFunction %void
- %uint = OpTypeInt 32 0
- %7 = OpSpecConstant %uint 1
- %8 = OpSpecConstant %uint 1
- %uint_1 = OpConstant %uint 1
- %v3uint = OpTypeVector %uint 3
- %gl_WorkGroupSize = OpSpecConstantComposite %v3uint %7 %8 %uint_1
- %main = OpFunction %void None %3
- %5 = OpLabel
- OpReturn
- OpFunctionEnd
|