Commit 2a5f350b authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

midgard: Lower rect textures

parent 76ae2649
......@@ -655,6 +655,12 @@ optimise_nir(nir_shader *nir)
NIR_PASS(progress, nir, nir_lower_regs_to_ssa);
NIR_PASS(progress, nir, midgard_nir_lower_fdot2);
nir_lower_tex_options lower_tex_options = {
.lower_rect = true
NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options);
do {
progress = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment