panfrost: Update MALI_EARLY_Z description

Via the ES3.1 early-z testing force, I've confirmed this bit is e-z.
I've also confirmed e-z must be disabled for global writes, as expected.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5300>
This commit is contained in:
Alyssa Rosenzweig 2020-06-02 14:03:58 -04:00 committed by Marge Bot
parent 7e26a02e5f
commit ee59d1ad77

View file

@ -390,11 +390,11 @@ enum mali_format {
/* Should be set when the fragment shader updates the depth value. */ /* Should be set when the fragment shader updates the depth value. */
#define MALI_WRITES_Z (1 << 4) #define MALI_WRITES_Z (1 << 4)
/* Should the hardware perform early-Z testing? Normally should be set /* Should the hardware perform early-Z testing? Set if the shader does not use
* for performance reasons. Clear if you use: discard, * discard, alpha-to-coverage, shader depth writes, and if the shader has no
* alpha-to-coverage... * It's also possible this disables * side effects (writes to global memory or images) unless early-z testing is
* forward-pixel kill; we're not quite sure which bit is which yet. * forced in the shader.
* TODO: How does this interact with blending?*/ */
#define MALI_EARLY_Z (1 << 6) #define MALI_EARLY_Z (1 << 6)