mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 05:30:31 +01:00
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:
parent
0cbe0d2968
commit
bca4ebc3c4
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue