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 %tex "tex"
14cb93a386Sopenharmony_ciOpName %main "main"
15cb93a386Sopenharmony_ciOpName %a "a"
16cb93a386Sopenharmony_ciOpName %b "b"
17cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
18cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
19cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
20cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
21cb93a386Sopenharmony_ciOpDecorate %tex RelaxedPrecision
22cb93a386Sopenharmony_ciOpDecorate %tex Binding 0
23cb93a386Sopenharmony_ciOpDecorate %tex DescriptorSet 0
24cb93a386Sopenharmony_ciOpDecorate %20 RelaxedPrecision
25cb93a386Sopenharmony_ciOpDecorate %24 RelaxedPrecision
26cb93a386Sopenharmony_ciOpDecorate %29 RelaxedPrecision
27cb93a386Sopenharmony_ciOpDecorate %30 RelaxedPrecision
28cb93a386Sopenharmony_ciOpDecorate %33 RelaxedPrecision
29cb93a386Sopenharmony_ciOpDecorate %34 RelaxedPrecision
30cb93a386Sopenharmony_ciOpDecorate %35 RelaxedPrecision
31cb93a386Sopenharmony_ci%float = OpTypeFloat 32
32cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
33cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
34cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
35cb93a386Sopenharmony_ci%bool = OpTypeBool
36cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
37cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
38cb93a386Sopenharmony_ci%13 = OpTypeImage %float 1D 0 0 0 1 Unknown
39cb93a386Sopenharmony_ci%12 = OpTypeSampledImage %13
40cb93a386Sopenharmony_ci%_ptr_UniformConstant_12 = OpTypePointer UniformConstant %12
41cb93a386Sopenharmony_ci%tex = OpVariable %_ptr_UniformConstant_12 UniformConstant
42cb93a386Sopenharmony_ci%void = OpTypeVoid
43cb93a386Sopenharmony_ci%15 = OpTypeFunction %void
44cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float
45cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
46cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
47cb93a386Sopenharmony_ci%26 = OpConstantComposite %v2float %float_0 %float_0
48cb93a386Sopenharmony_ci%main = OpFunction %void None %15
49cb93a386Sopenharmony_ci%16 = OpLabel
50cb93a386Sopenharmony_ci%a = OpVariable %_ptr_Function_v4float Function
51cb93a386Sopenharmony_ci%b = OpVariable %_ptr_Function_v4float Function
52cb93a386Sopenharmony_ci%20 = OpLoad %12 %tex
53cb93a386Sopenharmony_ci%19 = OpImageSampleImplicitLod %v4float %20 %float_0
54cb93a386Sopenharmony_ciOpStore %a %19
55cb93a386Sopenharmony_ci%24 = OpLoad %12 %tex
56cb93a386Sopenharmony_ci%23 = OpImageSampleProjImplicitLod %v4float %24 %26
57cb93a386Sopenharmony_ciOpStore %b %23
58cb93a386Sopenharmony_ci%27 = OpLoad %v4float %a
59cb93a386Sopenharmony_ci%28 = OpVectorShuffle %v2float %27 %27 0 1
60cb93a386Sopenharmony_ci%29 = OpCompositeExtract %float %28 0
61cb93a386Sopenharmony_ci%30 = OpCompositeExtract %float %28 1
62cb93a386Sopenharmony_ci%31 = OpLoad %v4float %b
63cb93a386Sopenharmony_ci%32 = OpVectorShuffle %v2float %31 %31 2 3
64cb93a386Sopenharmony_ci%33 = OpCompositeExtract %float %32 0
65cb93a386Sopenharmony_ci%34 = OpCompositeExtract %float %32 1
66cb93a386Sopenharmony_ci%35 = OpCompositeConstruct %v4float %29 %30 %33 %34
67cb93a386Sopenharmony_ciOpStore %sk_FragColor %35
68cb93a386Sopenharmony_ciOpReturn
69cb93a386Sopenharmony_ciOpFunctionEnd
70cb93a386Sopenharmony_ci
71cb93a386Sopenharmony_ci1 error
72