Module: Mesa Branch: master Commit: f95a6b2ff4237181fd7e9622e19e9aa0719a1f21 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f95a6b2ff4237181fd7e9622e19e9aa0719a1f21
Author: Ilia Mirkin <[email protected]> Date: Thu Mar 26 19:33:01 2015 -0400 st/mesa: initialize have_fma in constructor Spotted by Coverity. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Brian Paul <[email protected]> --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b619326..e97ab83 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3465,6 +3465,7 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor() shader = NULL; options = NULL; have_sqrt = false; + have_fma = false; } glsl_to_tgsi_visitor::~glsl_to_tgsi_visitor() _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
