radv: export MRTZ via PS epilogs when alpha to coverage is dynamic on GFX11

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26250>
This commit is contained in:
Samuel Pitoiset 2023-11-30 09:06:22 +01:00 committed by Marge Bot
parent 0cbe0d2968
commit bca4ebc3c4

View file

@ -1948,7 +1948,8 @@ radv_generate_graphics_pipeline_key(const struct radv_device *device, const stru
* rendering), it's not possible to know the info at compile time and MRTZ needs to be
* exported in the epilog.
*/
key.ps.exports_mrtz_via_epilog = key.ps.has_epilog && !state->ms;
key.ps.exports_mrtz_via_epilog =
key.ps.has_epilog && (!state->ms || (pipeline->dynamic_states & RADV_DYNAMIC_ALPHA_TO_COVERAGE_ENABLE));
}
key.dynamic_patch_control_points = !!(pipeline->dynamic_states & RADV_DYNAMIC_PATCH_CONTROL_POINTS);