mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
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:
parent
6e3fc37d47
commit
264d8a6766
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue