Skip to content

util/u_printf: do not double print format string with unused arugments

Karol Herbst requested to merge karolherbst/mesa:nir/printf/empty_string into main

util/u_printf: do not double print format string with unused arugments

the CL CTS added a new test being printf("\n", "foo") but we ended up printing the new line twice. If we can't find a specified anymore, ignore the argument as after the loop processing all arguments we'll print the remaining format string anyway.

Cc: mesa-stable

Merge request reports