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

2016-02-17 Thread Ilia Mirkin
On Wed, Feb 17, 2016 at 4:00 PM, Ian Romanick 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 pointe

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

2016-02-17 Thread Ian Romanick
On 02/16/2016 11:14 PM, Kenneth Graunke wrote: > On Tuesday, February 16, 2016 6:29:39 PM PST Ilia Mirkin wrote: >> See commit 9db2098d which did it internally to the i965 driver. No >> reason not to have this more globally set though. >> >> This fixes depth in a bunch of dEQP EXT_texture_border_cl

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

2016-02-17 Thread Ilia Mirkin
On Feb 17, 2016 2:14 AM, "Kenneth Graunke" wrote: > > On Tuesday, February 16, 2016 6:29:39 PM PST Ilia Mirkin wrote: > > See commit 9db2098d which did it internally to the i965 driver. No > > reason not to have this more globally set though. > > > > This fixes depth in a bunch of dEQP EXT_texture

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

2016-02-16 Thread Kenneth Graunke
On Tuesday, February 16, 2016 6:29:39 PM PST Ilia Mirkin wrote: > See commit 9db2098d which did it internally to the i965 driver. No > reason not to have this more globally set though. > > This fixes depth in a bunch of dEQP EXT_texture_border_clamp tests. And > probably other items as well. > >

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

2016-02-16 Thread Ilia Mirkin
See commit 9db2098d which did it internally to the i965 driver. No reason not to have this more globally set though. This fixes depth in a bunch of dEQP EXT_texture_border_clamp tests. And probably other items as well. Signed-off-by: Ilia Mirkin Cc: Ian Romanick Cc: mesa-sta...@lists.freedeskto