Module: Mesa Branch: master Commit: ef98c175c0180bebd3238ae77925a601c025cd24 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef98c175c0180bebd3238ae77925a601c025cd24
Author: Marek Olšák <[email protected]> Date: Wed Sep 16 02:03:21 2020 -0400 nir: gather fs.uses_sample_qualifier from lowered IO Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6758> --- src/compiler/nir/nir_gather_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c index 1780d3e1c6b..ae209f41ec9 100644 --- a/src/compiler/nir/nir_gather_info.c +++ b/src/compiler/nir/nir_gather_info.c @@ -502,6 +502,8 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader, shader->info.system_values_read |= BITFIELD64_BIT(SYSTEM_VALUE_BARYCENTRIC_LINEAR_SAMPLE); } + if (shader->info.stage == MESA_SHADER_FRAGMENT) + shader->info.fs.uses_sample_qualifier = true; break; case nir_intrinsic_quad_broadcast: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
