ir3: Set need_full_quad depending on info.fs.require_full_quads

The info from NIR is more granular, so that we don't have to
enable full quad for coarse derivatives.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33801>
This commit is contained in:
Danylo Piliaiev 2025-02-26 19:13:56 +01:00 committed by Marge Bot
parent 6e3fc37d47
commit 264d8a6766

View file

@ -5775,6 +5775,10 @@ ir3_compile_shader_nir(struct ir3_compiler *compiler,
if (so->type == MESA_SHADER_FRAGMENT &&
ctx->s->info.fs.needs_quad_helper_invocations) {
so->need_pixlod = true;
}
if (so->type == MESA_SHADER_FRAGMENT &&
ctx->s->info.fs.require_full_quads) {
so->need_full_quad = true;
}