• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 450
2
3precision lowp sampler2D;
4precision lowp int;
5precision lowp float;
6
7uniform lowp sampler2D s;
8uniform highp sampler3D t;
9layout(rgba32f) uniform lowp image2D i1;
10layout(rgba32f) uniform highp image2D i2;
11
12layout(location = 0) in lowp vec2 v2;
13layout(location = 1) in lowp vec3 v3;
14layout(location = 3) flat in lowp ivec2 iv2;
15
16layout(location = 0) out lowp vec4 color;
17
18void main()
19{
20    color = texture(s, v2);
21    color = texture(t, v3);
22    lowp vec4 vi1 = imageLoad(i1, iv2);
23    lowp vec4 vi2 = imageLoad(i2, iv2);
24}
25