yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
2345014d
main-tot
1#version 310 es 2 3#extension GL_EXT_descriptor_heap : require 4#extension GL_EXT_structured_descriptor_heap : require 5 6precision highp float ; 7 8resourceheap ResourceHeap { 9uint count ; 10highp texture2D textures [] ; 11} resources ; 12 13samplerheap SamplerHeap { 14highp samplerShadow shadowSampler ; 15highp sampler samplers [] ; 16} samplers ; 17 18layout ( location = 0 ) in vec2 uvs ; 19layout ( location = 0 ) out vec4 fragColor ; 20 21void main () 22{ 23fragColor = texture ( sampler2D ( resources . textures [ 2 ] , samplers . samplers [ 1 ]) , uvs ) ; 24fragColor . x += float ( resources . count ) ; 25}