You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
There is a known compiler bug for this, if you remove "Vert" at the end of the "in" definition and use Texcoord directly it should work in the interpolateAtSample function.
I can't run gl-400-fbo-multisample and all the others who uses the
interpolateAtSample
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-/
The text was updated successfully, but these errors were encountered: