nir: Move the define of snprintf to header nir.h

The define of snprintf in nir_lower_atomics_to_ssbo.c is duplicated,
so remove it from this file

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14014>
This commit is contained in:
Yonggang Luo 2021-12-03 00:01:34 +08:00
parent 153cb830c4
commit a1814067cd
1 changed files with 0 additions and 4 deletions

View File

@ -27,10 +27,6 @@
#include "nir.h"
#include "nir_builder.h"
#if defined(_WIN32) && !defined(snprintf)
#define snprintf _snprintf
#endif
/*
* Remap atomic counters to SSBOs, starting from the shader's next SSBO slot
* (info.num_ssbos).