forked from Groovounet/ogl-samples
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Description
I can't run gl-400-fbo-multisample and all the others who uses the interpolateAtSample
in vert
{
vec2 Texcoord;
//sample vec2 Texcoord;
} Vert;
layout(location = FRAG_COLOR, index = 0) out vec4 Color;
void main()
{
Color = texture(Diffuse, interpolateAtSample(Vert.Texcoord, gl_SampleID));
//Color = texture(Diffuse, Vert.Texcoord);
}
Asking on the irc opengl, a guy suggested me to use the commented out lines instead, and that works. He also said it is probabily a glsl compiler bug... what do you think?
Edit: https://devtalk.nvidia.com/default/topic/914874/opengl/glsl-compiler-bug-on-interpolateatsample-/
Metadata
Metadata
Assignees
Labels
No labels