st/mesa: initialize have_fma in constructor
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 26 Mar 2015 23:33:01 +0000 (19:33 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 27 Mar 2015 01:02:09 +0000 (21:02 -0400)
Spotted by Coverity.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index b6193269a9da5ad0778e97bc3fc3cdfd24cd531e..e97ab83f2cda43dfc48bf04021a7cb988b45805d 100644 (file)
@@ -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()