mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
tu: disable VK_EXT_post_depth_coverage
The HW returns the wrong result for gl_SampleMaskIn when post_depth_coverage is enabled together with FSR. This is especially problematic since we use gl_SampleMaskIn to lower gl_HelperInvocation. Disable the extension as a workaround. We are currently unaware of any apps that use VK_EXT_post_depth_coverage so disabling it should not be a problem. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35788>
This commit is contained in:
parent
9f2538f1e7
commit
a04e172042
2 changed files with 0 additions and 2 deletions
|
|
@ -316,7 +316,6 @@ get_device_extensions(const struct tu_physical_device *device,
|
|||
.EXT_physical_device_drm = !is_kgsl(device->instance),
|
||||
.EXT_pipeline_creation_cache_control = true,
|
||||
.EXT_pipeline_creation_feedback = true,
|
||||
.EXT_post_depth_coverage = true,
|
||||
.EXT_primitive_topology_list_restart = true,
|
||||
.EXT_primitives_generated_query = true,
|
||||
.EXT_private_data = true,
|
||||
|
|
|
|||
|
|
@ -1867,7 +1867,6 @@ tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs)
|
|||
CONDREG(smask_in_regid, A6XX_RB_PS_INPUT_CNTL_SAMPLEMASK) |
|
||||
CONDREG(samp_id_regid, A6XX_RB_PS_INPUT_CNTL_SAMPLEID) |
|
||||
CONDREG(ij_regid[IJ_PERSP_CENTER_RHW], A6XX_RB_PS_INPUT_CNTL_CENTERRHW) |
|
||||
COND(fs->post_depth_coverage, A6XX_RB_PS_INPUT_CNTL_POSTDEPTHCOVERAGE) |
|
||||
COND(fs->frag_face, A6XX_RB_PS_INPUT_CNTL_FACENESS) |
|
||||
CONDREG(shading_rate_regid, A6XX_RB_PS_INPUT_CNTL_FOVEATION));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue