radv: stop setting INTERPOLATE_COMP_Z

Based on RadeonSI/PAL.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20982>
(cherry picked from commit 47852b9ff4)
This commit is contained in:
Samuel Pitoiset 2023-01-30 08:50:05 +01:00 committed by Dylan Baker
parent 950f54d6a1
commit e89933a676
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@
"description": "radv: stop setting INTERPOLATE_COMP_Z",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -4182,7 +4182,7 @@ radv_emit_msaa_state(struct radv_cmd_buffer *cmd_buffer)
unsigned db_eqaa;
db_eqaa = S_028804_HIGH_QUALITY_INTERSECTIONS(1) | S_028804_INCOHERENT_EQAA_READS(1) |
S_028804_INTERPOLATE_COMP_Z(1) | S_028804_STATIC_ANCHOR_ASSOCIATIONS(1);
S_028804_STATIC_ANCHOR_ASSOCIATIONS(1);
if (pdevice->rad_info.gfx_level >= GFX9 &&
d->vk.rs.conservative_mode != VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT) {