pco: suppress uses_sample_shading changes from nir_lower_blend
undoes "c66be7521f nir/lower_blend: Enable per-sample shading" Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
committed by
Marge Bot
parent
992ade9e76
commit
9ba866d90e
@@ -716,7 +716,10 @@ void pco_lower_nir(pco_ctx *ctx, nir_shader *nir, pco_data *data)
|
||||
NIR_PASS(_, nir, pco_nir_lower_tex);
|
||||
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
bool backup = nir->info.fs.uses_sample_shading;
|
||||
NIR_PASS(_, nir, nir_lower_blend, &data->fs.blend_opts);
|
||||
nir->info.fs.uses_sample_shading = backup;
|
||||
|
||||
NIR_PASS(_, nir, pco_nir_pfo, &data->fs);
|
||||
} else if (nir->info.stage == MESA_SHADER_VERTEX) {
|
||||
NIR_PASS(_,
|
||||
|
||||
Reference in New Issue
Block a user