diff options
author | Eric Engestrom <[email protected]> | 2019-07-19 22:13:21 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-23 08:57:27 +0100 |
commit | b1c35fa6d6e1c2177bb602e8cad3d6a25534ad04 (patch) | |
tree | 199f27987dcb4834228cd48369c10dd6b32a3e66 | |
parent | 9607d499dcdd09160b13690397b159640fe0776f (diff) |
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]>
-rw-r--r-- | src/mesa/state_tracker/st_nir_lower_tex_src_plane.c | 1 |
1 files changed, 1 insertions, 0 deletions
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" |