}
NIR_PASS_V(nir, nir_lower_ssbo);
- NIR_PASS_V(nir, pan_nir_lower_zs_store);
NIR_PASS_V(nir, pan_lower_sample_pos);
NIR_PASS_V(nir, nir_lower_bit_size, bi_lower_bit_size, NULL);
NIR_PASS_V(nir, nir_lower_64bit_phis);
{
bifrost_debug = debug_get_option_bifrost_debug();
+ /* Combine stores late, to give the driver a chance to lower dual-source
+ * blending as regular store_output intrinsics.
+ */
+ NIR_PASS_V(nir, pan_nir_lower_zs_store);
+
bi_optimize_nir(nir, inputs->gpu_id, inputs->is_blend);
info->tls_size = nir->scratch_size;