summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/profiles/ARB_texture_multisample.glsl
blob: 4fa67e95e30d1629f74930c537790d69eaca1f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#version 130
#extension GL_ARB_texture_multisample : enable

ivec2 textureSize( sampler2DMS sampler);
ivec2 textureSize(isampler2DMS sampler);
ivec2 textureSize(usampler2DMS sampler);

ivec3 textureSize( sampler2DMSArray sampler);
ivec3 textureSize(isampler2DMSArray sampler);
ivec3 textureSize(usampler2DMSArray sampler);

 vec4 texelFetch( sampler2DMS sampler, ivec2 P, int sample);
ivec4 texelFetch(isampler2DMS sampler, ivec2 P, int sample);
uvec4 texelFetch(usampler2DMS sampler, ivec2 P, int sample);

 vec4 texelFetch( sampler2DMSArray sampler, ivec3 P, int sample);
ivec4 texelFetch(isampler2DMSArray sampler, ivec3 P, int sample);
uvec4 texelFetch(usampler2DMSArray sampler, ivec3 P, int sample);