1; Test: SpvParserHandleTest_NeverGenerateConstDeclForHandle_UseVariableDirectly.spvasm 2; SPIR-V 3; Version: 1.0 4; Generator: Khronos SPIR-V Tools Assembler; 0 5; Bound: 101 6; Schema: 0 7OpCapability Shader 8OpCapability Sampled1D 9OpCapability Image1D 10OpCapability StorageImageExtendedFormats 11OpCapability ImageQuery 12OpMemoryModel Logical Simple 13OpEntryPoint Fragment %100 "main" 14OpExecutionMode %100 OriginUpperLeft 15OpName %var "var" 16OpDecorate %2 DescriptorSet 0 17OpDecorate %2 Binding 0 18OpDecorate %3 DescriptorSet 0 19OpDecorate %3 Binding 1 20%float = OpTypeFloat 32 21%v4float = OpTypeVector %float 4 22%v2float = OpTypeVector %float 2 23%7 = OpConstantNull %v2float 24%8 = OpTypeImage %float 2D 0 0 0 1 Unknown 25%9 = OpTypeSampledImage %8 26%10 = OpTypeSampler 27%_ptr_UniformConstant_8 = OpTypePointer UniformConstant %8 28%_ptr_UniformConstant_10 = OpTypePointer UniformConstant %10 29%2 = OpVariable %_ptr_UniformConstant_8 UniformConstant 30%3 = OpVariable %_ptr_UniformConstant_10 UniformConstant 31%void = OpTypeVoid 32%14 = OpTypeFunction %void 33%_ptr_Function_v4float = OpTypePointer Function %v4float 34%100 = OpFunction %void None %14 35%16 = OpLabel 36%var = OpVariable %_ptr_Function_v4float Function 37%17 = OpCopyObject %_ptr_UniformConstant_8 %2 38%18 = OpCopyObject %_ptr_UniformConstant_10 %3 39%19 = OpLoad %8 %17 40%20 = OpLoad %10 %18 41%21 = OpSampledImage %9 %19 %20 42%22 = OpImageSampleImplicitLod %v4float %21 %7 43%23 = OpLoad %8 %17 44%24 = OpLoad %10 %18 45%25 = OpSampledImage %9 %23 %24 46%26 = OpImageSampleImplicitLod %v4float %25 %7 47%27 = OpFAdd %v4float %22 %26 48OpStore %var %27 49OpReturn 50OpFunctionEnd 51 52