mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 10:40:22 +01:00
panfrost/midgard: Lower texture projectors
We do have native support for perspective division on the load/store unit, but this is for the future, something ideally we would select generally, not just for textures. Meanwhile, flipping on projector lowering works now. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
4012e06788
commit
6ae4f9c523
1 changed files with 2 additions and 1 deletions
|
|
@ -356,7 +356,8 @@ optimise_nir(nir_shader *nir)
|
|||
NIR_PASS(progress, nir, nir_lower_idiv);
|
||||
|
||||
nir_lower_tex_options lower_tex_options = {
|
||||
.lower_rect = true
|
||||
.lower_rect = true,
|
||||
.lower_txp = ~0
|
||||
};
|
||||
|
||||
NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue