From b1c35fa6d6e1c2177bb602e8cad3d6a25534ad04 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 19 Jul 2019 22:13:21 +0100 Subject: [PATCH] st/nir: use asprintf() wrapper to fix MSVC issues Fixes: 856e84083eee9b22408a ("mesa/st: add sampler uniforms") Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- src/mesa/state_tracker/st_nir_lower_tex_src_plane.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c b/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c index db838612da8..99f595a72b3 100644 --- a/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c +++ b/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c @@ -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" -- 2.30.2