On Mon, May 11, 2015 at 11:07 AM, Erik Faye-Lund <kusmab...@gmail.com> wrote: > On Mon, May 11, 2015 at 4:57 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote: >> On Mon, May 11, 2015 at 10:08 AM, Erik Faye-Lund <kusmab...@gmail.com> wrote: >>> Shouldn't this be like this instead (and make sure >>> ARB_texture_multisample is enabled for ES3.1)? >>> >>> @@ -2756,8 +2756,9 @@ _mesa_FramebufferTexture2D(GLenum target, GLenum >>> attachment, >>> break; >>> case GL_TEXTURE_2D_MULTISAMPLE: >>> case GL_TEXTURE_2D_MULTISAMPLE_ARRAY: >>> - error = _mesa_is_gles(ctx) >>> - || !ctx->Extensions.ARB_texture_multisample; >>> + error = !ctx->Extensions.ARB_texture_multisample; >> >> error = false when you have a driver that supports texture_ms, but you >> have a gles1/2/3 context, whereas you wanted error = true there... > > I would expect ctx->Extensions.ARB_texture_multisample to be false in > any pre-GLES 3.1 context, since ARB_texture_multisample is written > against the OpenGL 3.1 specification, and not any Open GL ES flavor. > > Are you saying that we do not mask these booleans against what the > context can support? Are these purely about what the driver can > manage?
Correct. They are exclusively set by the driver and never modified again. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev