projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b87d73
)
st/mesa: initialize have_fma in constructor
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 26 Mar 2015 23:33:01 +0000
(19:33 -0400)
committer
Ilia 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b6193269a9da5ad0778e97bc3fc3cdfd24cd531e..e97ab83f2cda43dfc48bf04021a7cb988b45805d 100644
(file)
--- 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()