radv: remove useless check in radv_create_shaders()
radv_can_dump_shader() already handles if module is NULL. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
8ade3e4684
commit
ece398277c
|
@ -1984,7 +1984,7 @@ void radv_create_shaders(struct radv_pipeline *pipeline,
|
|||
radv_link_shaders(pipeline, nir);
|
||||
|
||||
for (int i = 0; i < MESA_SHADER_STAGES; ++i) {
|
||||
if (modules[i] && radv_can_dump_shader(device, modules[i], false))
|
||||
if (radv_can_dump_shader(device, modules[i], false))
|
||||
nir_print_shader(nir[i], stderr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue