blob: 7fdfeba23bb492cd3e11bab3d1ddbf04c177d812 [file] [log] [blame]
;; Tests OpSpecConstantComposite matching.
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpDecorate %sc SpecId 0
%void = OpTypeVoid
%3 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%v3uint = OpTypeVector %uint 3
%sc = OpSpecConstant %uint 10
%main = OpFunction %void None %3
%5 = OpLabel
OpReturn
OpFunctionEnd