mesa/st: Use memset to zero out struct
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 21:47:30 +0000 (14:47 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Tue, 26 May 2020 19:46:18 +0000 (12:46 -0700)
commitc26317ebd6c42fcd70a63c2a95d04f11f3c15bd5
tree46731e7ad033d90c5096ca06060d13d01c355b49
parent12653beacba00146f5bf31816a7c1dc8e51735ff
mesa/st: Use memset to zero out struct

This is a non-stop source of warnings and build breakage. memset works
everywhere.

src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c:354:45: warning:
suggest braces around initialization of subobject [-Wmissing-braces]

Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5174>
src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c