st/nir: use asprintf() wrapper to fix MSVC issues
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 19 Jul 2019 21:13:21 +0000 (22:13 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 23 Jul 2019 07:57:27 +0000 (08:57 +0100)
Fixes: 856e84083eee9b22408a ("mesa/st: add sampler uniforms")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/state_tracker/st_nir_lower_tex_src_plane.c

index db83861..99f595a 100644 (file)
@@ -29,6 +29,7 @@
  * This should run after nir_lower_samplers.
  */
 
+#include "util/u_string.h"
 #include "compiler/nir/nir.h"
 #include "st_nir.h"