mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 01:40:08 +01:00
radv: Fix -Wformat-security issue
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103513
Fixes: de88979413 ("radv: Implement VK_AMD_shader_info")
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
1e84e53712
commit
134a40d2a6
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ radv_shader_dump_stats(struct radv_device *device,
|
|||
generate_shader_stats(device, variant, stage, buf);
|
||||
|
||||
fprintf(file, "\n%s:\n", radv_get_shader_name(variant, stage));
|
||||
fprintf(file, buf->buf);
|
||||
fprintf(file, "%s", buf->buf);
|
||||
|
||||
_mesa_string_buffer_destroy(buf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue