d3d12: Move create_bare_samplers NIR pass later

parent 179d7112
Pipeline #145822 waiting for manual action with stages
......@@ -129,6 +129,7 @@ compile_nir(struct d3d12_context *ctx, struct d3d12_shader_selector *sel,
NIR_PASS_V(nir, nir_lower_tex, &tex_options);
NIR_PASS_V(nir, nir_lower_clip_halfz);
NIR_PASS_V(nir, d3d12_lower_yflip);
NIR_PASS_V(nir, d3d12_create_bare_samplers);
NIR_PASS_V(nir, nir_lower_uniforms_to_ubo, 16);
NIR_PASS_V(nir, d3d12_lower_state_vars, shader);
NIR_PASS_V(nir, d3d12_lower_front_face);
......
......@@ -527,7 +527,6 @@ d3d12_finalize_nir(UNUSED pipe_screen *screen, void *nir, UNUSED bool optimize)
nir_shader *sh = static_cast<nir_shader *>(nir);
NIR_PASS_V(sh, nir_remove_dead_variables, nir_var_uniform);
NIR_PASS_V(sh, d3d12_create_bare_samplers);
/* Currently we only do something with thevertex shader */
if (sh->info.stage != MESA_SHADER_VERTEX)
......
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