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