1cb93a386Sopenharmony_ci### Compilation failed: 2cb93a386Sopenharmony_ci 3cb93a386Sopenharmony_cierror: SPIR-V validation error: Operand 3 of TypeImage requires one of these capabilities: Sampled1D Image1D 4cb93a386Sopenharmony_ci %13 = OpTypeImage %float 1D 0 0 0 1 Unknown 5cb93a386Sopenharmony_ci 6cb93a386Sopenharmony_ciOpCapability Shader 7cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450" 8cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450 9cb93a386Sopenharmony_ciOpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise 10cb93a386Sopenharmony_ciOpExecutionMode %main OriginUpperLeft 11cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor" 12cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise" 13cb93a386Sopenharmony_ciOpName %one "one" 14cb93a386Sopenharmony_ciOpName %two "two" 15cb93a386Sopenharmony_ciOpName %main "main" 16cb93a386Sopenharmony_ciOpName %a "a" 17cb93a386Sopenharmony_ciOpName %b "b" 18cb93a386Sopenharmony_ciOpName %c "c" 19cb93a386Sopenharmony_ciOpName %d "d" 20cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 21cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 22cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 23cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 24cb93a386Sopenharmony_ciOpDecorate %one RelaxedPrecision 25cb93a386Sopenharmony_ciOpDecorate %one Binding 0 26cb93a386Sopenharmony_ciOpDecorate %one DescriptorSet 0 27cb93a386Sopenharmony_ciOpDecorate %two RelaxedPrecision 28cb93a386Sopenharmony_ciOpDecorate %two Binding 1 29cb93a386Sopenharmony_ciOpDecorate %two DescriptorSet 0 30cb93a386Sopenharmony_ciOpDecorate %24 RelaxedPrecision 31cb93a386Sopenharmony_ciOpDecorate %29 RelaxedPrecision 32cb93a386Sopenharmony_ciOpDecorate %34 RelaxedPrecision 33cb93a386Sopenharmony_ciOpDecorate %37 RelaxedPrecision 34cb93a386Sopenharmony_ciOpDecorate %48 RelaxedPrecision 35cb93a386Sopenharmony_ci%float = OpTypeFloat 32 36cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 37cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 38cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 39cb93a386Sopenharmony_ci%bool = OpTypeBool 40cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 41cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 42cb93a386Sopenharmony_ci%13 = OpTypeImage %float 1D 0 0 0 1 Unknown 43cb93a386Sopenharmony_ci%12 = OpTypeSampledImage %13 44cb93a386Sopenharmony_ci%_ptr_UniformConstant_12 = OpTypePointer UniformConstant %12 45cb93a386Sopenharmony_ci%one = OpVariable %_ptr_UniformConstant_12 UniformConstant 46cb93a386Sopenharmony_ci%17 = OpTypeImage %float 2D 0 0 0 1 Unknown 47cb93a386Sopenharmony_ci%16 = OpTypeSampledImage %17 48cb93a386Sopenharmony_ci%_ptr_UniformConstant_16 = OpTypePointer UniformConstant %16 49cb93a386Sopenharmony_ci%two = OpVariable %_ptr_UniformConstant_16 UniformConstant 50cb93a386Sopenharmony_ci%void = OpTypeVoid 51cb93a386Sopenharmony_ci%19 = OpTypeFunction %void 52cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 53cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 54cb93a386Sopenharmony_ci%float_n0_5 = OpConstant %float -0.5 55cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 56cb93a386Sopenharmony_ci%31 = OpConstantComposite %v2float %float_0 %float_0 57cb93a386Sopenharmony_ci%v3float = OpTypeVector %float 3 58cb93a386Sopenharmony_ci%39 = OpConstantComposite %v3float %float_0 %float_0 %float_0 59cb93a386Sopenharmony_ci%main = OpFunction %void None %19 60cb93a386Sopenharmony_ci%20 = OpLabel 61cb93a386Sopenharmony_ci%a = OpVariable %_ptr_Function_v4float Function 62cb93a386Sopenharmony_ci%b = OpVariable %_ptr_Function_v4float Function 63cb93a386Sopenharmony_ci%c = OpVariable %_ptr_Function_v4float Function 64cb93a386Sopenharmony_ci%d = OpVariable %_ptr_Function_v4float Function 65cb93a386Sopenharmony_ci%24 = OpLoad %12 %one 66cb93a386Sopenharmony_ci%23 = OpImageSampleImplicitLod %v4float %24 %float_0 Bias %float_n0_5 67cb93a386Sopenharmony_ciOpStore %a %23 68cb93a386Sopenharmony_ci%29 = OpLoad %16 %two 69cb93a386Sopenharmony_ci%28 = OpImageSampleImplicitLod %v4float %29 %31 Bias %float_n0_5 70cb93a386Sopenharmony_ciOpStore %b %28 71cb93a386Sopenharmony_ci%34 = OpLoad %12 %one 72cb93a386Sopenharmony_ci%33 = OpImageSampleProjImplicitLod %v4float %34 %31 Bias %float_n0_5 73cb93a386Sopenharmony_ciOpStore %c %33 74cb93a386Sopenharmony_ci%37 = OpLoad %16 %two 75cb93a386Sopenharmony_ci%36 = OpImageSampleProjImplicitLod %v4float %37 %39 Bias %float_n0_5 76cb93a386Sopenharmony_ciOpStore %d %36 77cb93a386Sopenharmony_ci%40 = OpLoad %v4float %a 78cb93a386Sopenharmony_ci%41 = OpCompositeExtract %float %40 0 79cb93a386Sopenharmony_ci%42 = OpLoad %v4float %b 80cb93a386Sopenharmony_ci%43 = OpCompositeExtract %float %42 0 81cb93a386Sopenharmony_ci%44 = OpLoad %v4float %c 82cb93a386Sopenharmony_ci%45 = OpCompositeExtract %float %44 0 83cb93a386Sopenharmony_ci%46 = OpLoad %v4float %d 84cb93a386Sopenharmony_ci%47 = OpCompositeExtract %float %46 0 85cb93a386Sopenharmony_ci%48 = OpCompositeConstruct %v4float %41 %43 %45 %47 86cb93a386Sopenharmony_ciOpStore %sk_FragColor %48 87cb93a386Sopenharmony_ciOpReturn 88cb93a386Sopenharmony_ciOpFunctionEnd 89cb93a386Sopenharmony_ci 90cb93a386Sopenharmony_ci1 error 91