mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
panfrost: Don't fix up alpha test on Bifrost
Since 7d1d7cdf57 ("panfrost: Don't check alpha test in fs_required on
Bifrost+"), we don't use the alpha testing state on Bifrost. So the fixup isn't
needed either.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>
This commit is contained in:
parent
cf02a1a555
commit
7ad159aab2
1 changed files with 1 additions and 1 deletions
|
|
@ -3749,7 +3749,7 @@ panfrost_create_depth_stencil_state(struct pipe_context *pipe,
|
|||
so->base = *zsa;
|
||||
|
||||
/* Normalize (there's no separate enable) */
|
||||
if (!zsa->alpha_enabled)
|
||||
if (PAN_ARCH <= 5 && !zsa->alpha_enabled)
|
||||
so->base.alpha_func = MALI_FUNC_ALWAYS;
|
||||
|
||||
/* Prepack relevant parts of the Renderer State Descriptor. They will
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue