In Vulkan this is expected to work with single sample scenarios too.
Fixes new test in CTS main:
dEQP-VK.pipeline.monolithic.multisample.alpha_to_one.samples_1
cc: mesa-stable
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20634>
(cherry picked from commit
09782e5e6d5cc0a44b907544f55bdaebbb4feb84)
"description": "v3dv: fix alpha-to-one for single sample setup",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
key->sample_coverage =
p_stage->pipeline->sample_mask != (1 << V3D_MAX_SAMPLES) - 1;
key->sample_alpha_to_coverage = ms_info->alphaToCoverageEnable;
- key->sample_alpha_to_one = ms_info->alphaToOneEnable;
}
+
+ key->sample_alpha_to_one = ms_info->alphaToOneEnable;
}
/* This is intended for V3D versions before 4.1, otherwise we just use the
key->sample_coverage =
pipeline->sample_mask != (1 << V3D_MAX_SAMPLES) - 1;
key->sample_alpha_to_coverage = ms_info->alphaToCoverageEnable;
- key->sample_alpha_to_one = ms_info->alphaToOneEnable;
}
+
+ key->sample_alpha_to_one = ms_info->alphaToOneEnable;
}
const struct v3dv_render_pass *pass =