GL_TEXTURE_SAMPLES in GLSL?

Is there any GLSL function that can retrieve the number of texture samples in a sampler2DMS object?

Sounds like this fits the bill:

1 Like