mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-22 20:03:06 +00:00

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22148 e7fa87d3-cd2b-0410-9028-fcbf551c1848
13 lines
155 B
GLSL
13 lines
155 B
GLSL
#version 330 core
|
|
|
|
in vec2 c2D;
|
|
flat in int i;
|
|
|
|
uniform sampler2D arrayedSampler[5];
|
|
|
|
void main()
|
|
{
|
|
vec4 v;
|
|
v = texture(arrayedSampler[i], c2D);
|
|
}
|