mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 03:20:33 +01:00
aco: use a smaller wqm section for strict_wqm sampling
It's only important that the coordinate is created in WQM, the sample itself doesn't care. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35970>
This commit is contained in:
parent
de4b345949
commit
c1b29174b4
2 changed files with 2 additions and 1 deletions
|
|
@ -683,7 +683,7 @@ visit_tex(isel_context* ctx, nir_tex_instr* instr)
|
|||
tex->tfe = instr->is_sparse;
|
||||
tex->d16 = d16;
|
||||
tex->a16 = a16;
|
||||
if (implicit_derivs)
|
||||
if (implicit_derivs && !has_wqm_coord)
|
||||
set_wqm(ctx, true);
|
||||
|
||||
if (tg4_integer_cube_workaround) {
|
||||
|
|
|
|||
|
|
@ -5134,6 +5134,7 @@ visit_intrinsic(isel_context* ctx, nir_intrinsic_instr* instr)
|
|||
|
||||
vec->definitions[0] = Definition(dst);
|
||||
ctx->block->instructions.emplace_back(std::move(vec));
|
||||
set_wqm(ctx, true);
|
||||
break;
|
||||
}
|
||||
case nir_intrinsic_store_scalar_arg_amd: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue