mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
radeonsi/nir: lower txp instructions
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
bcf85fcd9a
commit
d5741489d3
1 changed files with 5 additions and 0 deletions
|
|
@ -350,6 +350,11 @@ si_lower_nir(struct si_shader_selector* sel)
|
|||
NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar);
|
||||
NIR_PASS_V(sel->nir, nir_lower_phis_to_scalar);
|
||||
|
||||
static const struct nir_lower_tex_options lower_tex_options = {
|
||||
.lower_txp = ~0u,
|
||||
};
|
||||
NIR_PASS_V(sel->nir, nir_lower_tex, &lower_tex_options);
|
||||
|
||||
bool progress;
|
||||
do {
|
||||
progress = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue