yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
9e3f544d
16.6.0
1#version 310 es 2#extension GL_QCOM_image_processing3 : enable 3 4precision mediump float ; 5precision highp usampler2D ; 6precision highp sampler2D ; 7precision highp isampler2DArray ; 8 9layout ( location = 0 ) in vec2 c2D ; 10layout ( location = 1 ) in vec3 c3D ; 11layout ( location = 2 ) in ivec2 offset ; 12 13layout ( binding = 0 ) uniform highp usampler2D usamp2d ; 14layout ( binding = 1 ) uniform highp isampler2D isamp2d ; 15layout ( binding = 2 ) uniform highp sampler2D fsamp2d ; 16 17layout ( binding = 3 ) uniform highp usampler2DArray usamp2da ; 18layout ( binding = 4 ) uniform highp isampler2DArray isamp2da ; 19layout ( binding = 5 ) uniform highp sampler2DArray fsamp2da ; 20 21void main () 22{ 23vec4 sum = vec4 ( 0.0f ) ; 24 25sum += vec4 ( textureGather4x1QCOM ( usamp2d , c2D )) ; 26sum += vec4 ( textureGather4x1QCOM ( usamp2d , c2D , 0 )) ; 27sum += vec4 ( textureGather4x1QCOM ( isamp2d , c2D )) ; 28sum += vec4 ( textureGather4x1QCOM ( isamp2d , c2D , 1 )) ; 29sum += vec4 ( textureGather4x1QCOM ( fsamp2d , c2D )) ; 30sum += vec4 ( textureGather4x1QCOM ( fsamp2d , c2D , 2 )) ; 31 32sum += vec4 ( textureGatherV2QCOM ( usamp2d , c2D )) ; 33sum += vec4 ( textureGatherV2QCOM ( usamp2d , c2D , 1 )) ; 34sum += vec4 ( textureGatherV2QCOM ( isamp2d , c2D )) ; 35sum += vec4 ( textureGatherV2QCOM ( isamp2d , c2D , 2 )) ; 36sum += vec4 ( textureGatherV2QCOM ( fsamp2d , c2D )) ; 37sum += vec4 ( textureGatherV2QCOM ( fsamp2d , c2D , 3 )) ; 38 39sum += vec4 ( textureGatherH2QCOM ( usamp2d , c2D )) ; 40sum += vec4 ( textureGatherH2QCOM ( usamp2d , c2D , 0 )) ; 41sum += vec4 ( textureGatherH2QCOM ( isamp2d , c2D )) ; 42sum += vec4 ( textureGatherH2QCOM ( isamp2d , c2D , 1 )) ; 43sum += vec4 ( textureGatherH2QCOM ( fsamp2d , c2D )) ; 44sum += vec4 ( textureGatherH2QCOM ( fsamp2d , c2D , 2 )) ; 45 46sum += vec4 ( textureGatherDQCOM ( usamp2d , c2D )) ; 47sum += vec4 ( textureGatherDQCOM ( usamp2d , c2D , 1 )) ; 48sum += vec4 ( textureGatherDQCOM ( isamp2d , c2D )) ; 49sum += vec4 ( textureGatherDQCOM ( isamp2d , c2D , 2 )) ; 50sum += vec4 ( textureGatherDQCOM ( fsamp2d , c2D )) ; 51sum += vec4 ( textureGatherDQCOM ( fsamp2d , c2D , 3 )) ; 52 53sum += vec4 ( textureGather4x1QCOM ( usamp2da , c3D )) ; 54sum += vec4 ( textureGather4x1QCOM ( isamp2da , c3D )) ; 55sum += vec4 ( textureGather4x1QCOM ( fsamp2da , c3D )) ; 56 57sum += vec4 ( textureGatherV2QCOM ( usamp2da , c3D )) ; 58sum += vec4 ( textureGatherV2QCOM ( isamp2da , c3D )) ; 59sum += vec4 ( textureGatherV2QCOM ( fsamp2da , c3D )) ; 60 61sum += vec4 ( textureGatherH2QCOM ( usamp2da , c3D )) ; 62sum += vec4 ( textureGatherH2QCOM ( isamp2da , c3D )) ; 63sum += vec4 ( textureGatherH2QCOM ( fsamp2da , c3D )) ; 64 65sum += vec4 ( textureGatherDQCOM ( usamp2da , c3D )) ; 66sum += vec4 ( textureGatherDQCOM ( isamp2da , c3D )) ; 67sum += vec4 ( textureGatherDQCOM ( fsamp2da , c3D )) ; 68 69// textureGather*OffsetQCOM 70sum += vec4 ( textureGather4x1OffsetQCOM ( usamp2d , c2D , offset )) ; 71sum += vec4 ( textureGather4x1OffsetQCOM ( usamp2d , c2D , offset , 0 )) ; 72sum += vec4 ( textureGather4x1OffsetQCOM ( isamp2d , c2D , offset )) ; 73sum += vec4 ( textureGather4x1OffsetQCOM ( isamp2d , c2D , offset , 1 )) ; 74sum += vec4 ( textureGather4x1OffsetQCOM ( fsamp2d , c2D , offset )) ; 75sum += vec4 ( textureGather4x1OffsetQCOM ( fsamp2d , c2D , offset , 2 )) ; 76 77sum += vec4 ( textureGatherV2OffsetQCOM ( usamp2d , c2D , offset )) ; 78sum += vec4 ( textureGatherV2OffsetQCOM ( usamp2d , c2D , offset , 1 )) ; 79sum += vec4 ( textureGatherV2OffsetQCOM ( isamp2d , c2D , offset )) ; 80sum += vec4 ( textureGatherV2OffsetQCOM ( isamp2d , c2D , offset , 2 )) ; 81sum += vec4 ( textureGatherV2OffsetQCOM ( fsamp2d , c2D , offset )) ; 82sum += vec4 ( textureGatherV2OffsetQCOM ( fsamp2d , c2D , offset , 3 )) ; 83 84sum += vec4 ( textureGatherH2OffsetQCOM ( usamp2d , c2D , offset )) ; 85sum += vec4 ( textureGatherH2OffsetQCOM ( usamp2d , c2D , offset , 0 )) ; 86sum += vec4 ( textureGatherH2OffsetQCOM ( isamp2d , c2D , offset )) ; 87sum += vec4 ( textureGatherH2OffsetQCOM ( isamp2d , c2D , offset , 1 )) ; 88sum += vec4 ( textureGatherH2OffsetQCOM ( fsamp2d , c2D , offset )) ; 89sum += vec4 ( textureGatherH2OffsetQCOM ( fsamp2d , c2D , offset , 2 )) ; 90 91sum += vec4 ( textureGatherDOffsetQCOM ( usamp2d , c2D , offset )) ; 92sum += vec4 ( textureGatherDOffsetQCOM ( usamp2d , c2D , offset , 1 )) ; 93sum += vec4 ( textureGatherDOffsetQCOM ( isamp2d , c2D , offset )) ; 94sum += vec4 ( textureGatherDOffsetQCOM ( isamp2d , c2D , offset , 2 )) ; 95sum += vec4 ( textureGatherDOffsetQCOM ( fsamp2d , c2D , offset )) ; 96sum += vec4 ( textureGatherDOffsetQCOM ( fsamp2d , c2D , offset , 3 )) ; 97 98sum += vec4 ( textureGather4x1OffsetQCOM ( usamp2da , c3D , offset )) ; 99sum += vec4 ( textureGather4x1OffsetQCOM ( isamp2da , c3D , offset )) ; 100sum += vec4 ( textureGather4x1OffsetQCOM ( fsamp2da , c3D , offset )) ; 101 102sum += vec4 ( textureGatherV2OffsetQCOM ( usamp2da , c3D , offset )) ; 103sum += vec4 ( textureGatherV2OffsetQCOM ( isamp2da , c3D , offset )) ; 104sum += vec4 ( textureGatherV2OffsetQCOM ( fsamp2da , c3D , offset )) ; 105 106sum += vec4 ( textureGatherH2OffsetQCOM ( usamp2da , c3D , offset )) ; 107sum += vec4 ( textureGatherH2OffsetQCOM ( isamp2da , c3D , offset )) ; 108sum += vec4 ( textureGatherH2OffsetQCOM ( fsamp2da , c3D , offset )) ; 109 110sum += vec4 ( textureGatherDOffsetQCOM ( usamp2da , c3D , offset )) ; 111sum += vec4 ( textureGatherDOffsetQCOM ( isamp2da , c3D , offset )) ; 112sum += vec4 ( textureGatherDOffsetQCOM ( fsamp2da , c3D , offset )) ; 113 114gl_Position = sum ; 115}