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 db838612da83087c4e2fa699a85f6f536a2faa10..99f595a72b383f5ad255cf479435245b4e4b0289 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"