This shouldn't change anything.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15749>
else if (i == MESA_SHADER_TESS_EVAL && nir[MESA_SHADER_GEOMETRY])
info = &infos[MESA_SHADER_GEOMETRY];
}
+ NIR_PASS_V(nir[i], radv_nir_lower_ycbcr_textures, pipeline_layout);
NIR_PASS_V(nir[i], radv_nir_apply_pipeline_layout, device, pipeline_layout, info,
&args[i]);
if (!key->optimisations_disabled)
radv_optimize_nir(nir, false, true);
- /* call radv_nir_lower_ycbcr_textures() late as there might still be
- * tex with undef texture/sampler before first optimization */
- NIR_PASS_V(nir, radv_nir_lower_ycbcr_textures, layout);
-
/* We call nir_lower_var_copies() after the first radv_optimize_nir()
* to remove any copies introduced by nir_opt_find_array_copies().
*/