Re: [Mesa-dev] [PATCH] st/mesa: select Z16 for GL_DEPTH_COMPONENT

2017-08-22 Thread Marek Olšák
On Tue, Aug 22, 2017 at 5:09 PM, Nicolai Hähnle wrote: > Are you sure we really want this? I could well imagine badly coded > applications that don't explicitly specify the required Z depth, but will > have artifacts with 16 bits because they need the precision. It's something I noticed. I don't

Re: [Mesa-dev] [PATCH] st/mesa: select Z16 for GL_DEPTH_COMPONENT

2017-08-22 Thread Nicolai Hähnle
Are you sure we really want this? I could well imagine badly coded applications that don't explicitly specify the required Z depth, but will have artifacts with 16 bits because they need the precision. Cheers, Nicolai On 22.08.2017 16:39, Marek Olšák wrote: From: Marek Olšák --- src/mesa/

[Mesa-dev] [PATCH] st/mesa: select Z16 for GL_DEPTH_COMPONENT

2017-08-22 Thread Marek Olšák
From: Marek Olšák --- src/mesa/state_tracker/st_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 348853a..7a00a3e 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracke