glsl: use util_snprintf()
authorAndres Gomez <agomez@igalia.com>
Wed, 1 Aug 2018 10:22:00 +0000 (13:22 +0300)
committerAndres Gomez <agomez@igalia.com>
Thu, 2 Aug 2018 07:06:44 +0000 (10:06 +0300)
commit9d220fa950850d751fbbbc2cd4ec24d024fcad70
tree267eb39384acf8649af9f5d3a7bb296248be8ab5
parent8fcdb71d8c9e6a0d9d9b70550bb764b654377714
glsl: use util_snprintf()

Instead of plain snprintf(). To fix the MSVC 2013 build.

Fixes: 6ff0c6f4ebc ("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Brian Paul <brianp@vmware.com>
Cc: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/compiler/glsl/ir_builder_print_visitor.cpp
src/compiler/glsl/ir_print_visitor.cpp
src/compiler/glsl/link_interface_blocks.cpp
src/compiler/glsl/linker.cpp
src/compiler/glsl/opt_dead_builtin_varyings.cpp
src/compiler/glsl_types.cpp