mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 03:00:37 +02:00
gallivm: use our util_snprintf
This commit is contained in:
parent
7458928370
commit
af75bb4c98
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@
|
|||
#include "util/u_debug.h"
|
||||
#include "util/u_math.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "util/u_string.h"
|
||||
#include "tgsi/tgsi_dump.h"
|
||||
#include "tgsi/tgsi_info.h"
|
||||
#include "tgsi/tgsi_parse.h"
|
||||
|
|
@ -303,7 +304,7 @@ static LLVMValueRef lp_get_function(struct lp_build_tgsi_soa_context *bld,
|
|||
int i;
|
||||
char func_name[32];
|
||||
|
||||
snprintf(func_name, 31, "func%d", label);
|
||||
util_snprintf(func_name, 31, "func%d", label);
|
||||
|
||||
arg_types[0] = LLVMPointerType(vec_type, 0); /* inputs */
|
||||
arg_types[1] = LLVMPointerType(vec_type, 0); /* outpus */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue