[Mesa-dev] [PATCH] st/mesa: force depth mode to GL_RED for sized depth/stencil formats

Kenneth Graunke kenneth at whitecape.org
Wed Feb 17 20:26:33 UTC 2016


On Wednesday, February 17, 2016 8:21:32 AM PST Ilia Mirkin wrote:
> See commit 9db2098d for the i965 version of this.
> 
> This fixes depth in a bunch of dEQP EXT_texture_border_clamp tests. And
> probably other ones as well.
> 
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: Ian Romanick <idr at freedesktop.org>
> Cc: mesa-stable at lists.freedesktop.org
> ---
> 
> This replaces my patch "mesa: default DepthMode to GL_RED on ES 3.0" which
> tried to do it at the global level. Unfortunately this needs to only apply
> to sized format, so it can't be done until the texture is complete.
> 
>  src/mesa/state_tracker/st_atom_texture.c | 34 ++++++++++++++++++++++
+---------
>  1 file changed, 25 insertions(+), 9 deletions(-)

This looks good to me.  For what it's worth,

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160217/d0ce1378/attachment.sig>


More information about the mesa-dev mailing list