yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
db8719ae
vulkan-sdk-1.4.357.0
1#version 450 2#extension GL_QCOM_image_processing : require 3 4precision highp float ; 5 6// fragment shader inputs and outputs 7layout ( location = 0 ) in vec4 v_texcoord ; 8 9layout ( location = 0 ) out vec4 fragColor ; 10 11// fragment shader resources 12layout ( set = 0 , binding = 0 ) uniform texture2DArray tex2DArray_weights ; 13layout ( set = 0 , binding = 1 ) uniform texture2D tex2D_src1 ; 14layout ( set = 0 , binding = 2 ) uniform texture2D tex2D_src2 ; 15layout ( set = 0 , binding = 3 ) uniform sampler samp ; 16layout ( set = 0 , binding = 4 ) uniform sampler2D tex_samp ; 17 18void main () 19{ 20 21vec2 boxSize = vec2 ( 2.5 , 4.5 ) ; 22fragColor = textureBoxFilterQCOM ( 23sampler2D ( tex2D_src1 , samp ) , // source texture 24v_texcoord . xy , // tex coords 25boxSize ) ; // box size 26fragColor = textureBoxFilterQCOM ( 27tex_samp , // combined source texture 28v_texcoord . xy , // tex coords 29boxSize ) ; // box size 30 31} 32