On Wed, Dec 19, 2018, 3:32 PM Eric Anholt Jonathan marek writes:
>
> > Hi,
> >
> > I didn't verify it, but both r600 and a3xx disable earlyZ when alpha
> > test is enabled, so this is almost certainly right.
> >
> > We don't need to worry about the shader writing Z, it is not part of
> > OpenGL
Jonathan marek writes:
> Hi,
>
> I didn't verify it, but both r600 and a3xx disable earlyZ when alpha
> test is enabled, so this is almost certainly right.
>
> We don't need to worry about the shader writing Z, it is not part of
> OpenGL ES 2.0 and not implemented by the driver (although the
Hi,
I didn't verify it, but both r600 and a3xx disable earlyZ when alpha
test is enabled, so this is almost certainly right.
We don't need to worry about the shader writing Z, it is not part of
OpenGL ES 2.0 and not implemented by the driver (although the hardware
should allow it).
Why
Jonathan Marek writes:
> Enable earlyZ when alpha test is disabled.
>
> Signed-off-by: Jonathan Marek
> ---
> src/gallium/drivers/freedreno/a2xx/fd2_zsa.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_zsa.c
>
Enable earlyZ when alpha test is disabled.
Signed-off-by: Jonathan Marek
---
src/gallium/drivers/freedreno/a2xx/fd2_zsa.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_zsa.c
b/src/gallium/drivers/freedreno/a2xx/fd2_zsa.c
index