Module: Mesa
Branch: master
Commit: b1c35fa6d6e1c2177bb602e8cad3d6a25534ad04
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1c35fa6d6e1c2177bb602e8cad3d6a25534ad04

Author: Eric Engestrom <[email protected]>
Date:   Fri Jul 19 22:13:21 2019 +0100

st/nir: use asprintf() wrapper to fix MSVC issues

Fixes: 856e84083eee9b22408a ("mesa/st: add sampler uniforms")
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 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"
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to