Skip to content
Snippets Groups Projects
Commit 192486b7 authored by Rhys Perry's avatar Rhys Perry Committed by Marge Bot
Browse files

aco/gfx11: export mrtz in discard early exit for non-color shaders

If a shader doesn't export any color targets and instead only exports
mrtz, the discard early exit block should match.

Fixes artifacts on Lara in Rise of the Tomb Raider benchmark and hair in
The Witcher 3 (classic).

https://reviews.llvm.org/D128185



Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: bc8da20d ("aco: export MRT0 instead of NULL on GFX11")
Part-of: <mesa/mesa!20345>
parent c6cc1dc3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment