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