projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
st/mesa: Ensure dst in compile_instruction is initialized.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_mesa_to_tgsi.c
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 90af1b0098bb7d05dba2f62a84e04cfb1f6538b0..4d99b17ddfad08073b512192133accf6d0fe03a9 100644
(file)
--- a/
src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/
src/mesa/state_tracker/st_mesa_to_tgsi.c
@@
-680,7
+680,7
@@
compile_instruction(
{
struct ureg_program *ureg = t->ureg;
GLuint i;
- struct ureg_dst dst[1];
+ struct ureg_dst dst[1]
= { { 0 } }
;
struct ureg_src src[4];
unsigned num_dst;
unsigned num_src;