1; Test: SpvModuleScopeVarParserTest_ScalarSpecConstant_UsedInFunction.spvasm 2; SPIR-V 3; Version: 1.0 4; Generator: Khronos SPIR-V Tools Assembler; 0 5; Bound: 101 6; Schema: 0 7OpCapability Shader 8OpMemoryModel Logical Simple 9OpEntryPoint Fragment %2 "main" 10OpExecutionMode %2 OriginUpperLeft 11OpName %myconst "myconst" 12%void = OpTypeVoid 13%5 = OpTypeFunction %void 14%float = OpTypeFloat 32 15%myconst = OpSpecConstant %float 2.5 16%7 = OpTypeFunction %float 17%100 = OpFunction %float None %7 18%8 = OpLabel 19%1 = OpFAdd %float %myconst %myconst 20OpReturnValue %1 21OpFunctionEnd 22%2 = OpFunction %void None %5 23%9 = OpLabel 24OpReturn 25OpFunctionEnd 26 27