projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2458797
)
glsl: glsl to nir fix uninit class member.
author
Dave Airlie
<airlied@redhat.com>
Fri, 8 Feb 2019 05:23:46 +0000
(15:23 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 10 Feb 2019 22:55:07 +0000
(08:55 +1000)
The constructor should init this to NULL
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/glsl/glsl_to_nir.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/glsl_to_nir.cpp
b/src/compiler/glsl/glsl_to_nir.cpp
index 09599e4cee711b556a5cc8a129346029362c3f3a..d62de862fac62043c6877141413ce607e380baa4 100644
(file)
--- a/
src/compiler/glsl/glsl_to_nir.cpp
+++ b/
src/compiler/glsl/glsl_to_nir.cpp
@@
-180,6
+180,7
@@
nir_visitor::nir_visitor(nir_shader *shader)
this->overload_table = _mesa_pointer_hash_table_create(NULL);
this->result = NULL;
this->impl = NULL;
+ this->deref = NULL;
memset(&this->b, 0, sizeof(this->b));
}