projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r300g,r300c: memset the compiler struct to zeros
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_vs.c
diff --git
a/src/gallium/drivers/r300/r300_vs.c
b/src/gallium/drivers/r300/r300_vs.c
index add3d552c45622704734094723c4ca5c0619376b..22c94adbda0c8e6294451bd66475a950661c90f5 100644
(file)
--- a/
src/gallium/drivers/r300/r300_vs.c
+++ b/
src/gallium/drivers/r300/r300_vs.c
@@
-199,6
+199,7
@@
void r300_translate_vertex_shader(struct r300_context *r300,
unsigned i;
/* Setup the compiler */
+ memset(&compiler, 0, sizeof(compiler));
rc_init(&compiler.Base);
compiler.Base.Debug = DBG_ON(r300, DBG_VP);