Re: [Mesa-dev] [PATCH] i965: Disable depth writes when depth test is GL_EQUAL.

2016-11-17 Thread Jason Ekstrand
On Nov 17, 2016 11:34 AM, "Kenneth Graunke" wrote: > > There's no point in performing depth writes when the depth test > comparison function is set to GL_EQUAL - it would just write out > the same value that's already there (if it is written at all). While > this is

Re: [Mesa-dev] [PATCH] i965: Disable depth writes when depth test is GL_EQUAL.

2016-11-17 Thread Anuj Phogat
On Thu, Nov 17, 2016 at 11:33 AM, Kenneth Graunke wrote: > There's no point in performing depth writes when the depth test > comparison function is set to GL_EQUAL - it would just write out > the same value that's already there (if it is written at all). While > this is

[Mesa-dev] [PATCH] i965: Disable depth writes when depth test is GL_EQUAL.

2016-11-17 Thread Kenneth Graunke
There's no point in performing depth writes when the depth test comparison function is set to GL_EQUAL - it would just write out the same value that's already there (if it is written at all). While this is harmless from a functional perspective, it hurts performance. Obviously, writing to memory