mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
radv: print NIR shaders after lowering FS inputs/outputs
This is confusing otherwise. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3553> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3553>
This commit is contained in:
parent
17e225ee1e
commit
de64719024
1 changed files with 5 additions and 3 deletions
|
|
@ -2830,14 +2830,16 @@ void radv_create_shaders(struct radv_pipeline *pipeline,
|
|||
if (!aco)
|
||||
NIR_PASS_V(nir[i], nir_lower_bool_to_int32);
|
||||
}
|
||||
|
||||
if (radv_can_dump_shader(device, modules[i], false))
|
||||
nir_print_shader(nir[i], stderr);
|
||||
}
|
||||
|
||||
if (nir[MESA_SHADER_FRAGMENT])
|
||||
radv_lower_fs_io(nir[MESA_SHADER_FRAGMENT]);
|
||||
|
||||
for (int i = 0; i < MESA_SHADER_STAGES; ++i) {
|
||||
if (radv_can_dump_shader(device, modules[i], false))
|
||||
nir_print_shader(nir[i], stderr);
|
||||
}
|
||||
|
||||
radv_fill_shader_keys(device, keys, key, nir);
|
||||
|
||||
radv_fill_shader_info(pipeline, pStages, keys, infos, nir);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue