mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 10:50:16 +01:00
radv: enable conservativeRasterizationPostDepthCoverage on GFX10+ when possible
This seems to work just fine, except on NAVI21, NAVI22 and VANGOGH. It might be the same issue as has_vrs_ds_export_bug but it's not documented anywhere. That being said, the CTS tests that fail don't even export depth or stencil from fragment shaders. Do not enable this feature on these GPUs to be conservative. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38767>
This commit is contained in:
parent
d1386e167e
commit
069f60a4e7
1 changed files with 7 additions and 1 deletions
|
|
@ -1919,7 +1919,13 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
|
|||
.degenerateTrianglesRasterized = true,
|
||||
.degenerateLinesRasterized = false,
|
||||
.fullyCoveredFragmentShaderInputVariable = true,
|
||||
.conservativeRasterizationPostDepthCoverage = false,
|
||||
.conservativeRasterizationPostDepthCoverage =
|
||||
pdev->info.gfx_level >= GFX10 &&
|
||||
/* The combination of VRS + underestimate conservative rasterization + post depth coverage
|
||||
* seem to not behave correctly on few RDNA2 GPUs. It might be similar to
|
||||
* has_vrs_ds_export_bug but this isn't documented anywhere. Be conservative here.
|
||||
*/
|
||||
pdev->info.family != CHIP_NAVI21 && pdev->info.family != CHIP_NAVI22 && pdev->info.family != CHIP_VANGOGH,
|
||||
|
||||
#ifndef _WIN32
|
||||
/* VK_EXT_pci_bus_info */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue