[Mesa-dev] [PATCH] mesa: default DepthMode to GL_RED on ES 3.0

Ilia Mirkin imirkin at alum.mit.edu
Thu Feb 18 00:41:12 UTC 2016


On Wed, Feb 17, 2016 at 4:00 PM, Ian Romanick <idr at freedesktop.org> wrote:
> I think we need to change DepthMode in GLES when the texture image is
> set (by glTexImage or glTexStorage).  I think doing the mode swizzle in
> the driver means glGetTexParameteriv(GL_DEPTH_MODE) will return the
> wrong thing.

As you pointed out on IRC, GLES doesn't have this. So it should be
fine either way...

  -ilia


More information about the mesa-dev mailing list