projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae3bc2
)
glsl_to_tgsi: remove memset after calloc
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 26 May 2015 13:18:27 +0000
(15:18 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 5 Jun 2015 17:44:32 +0000
(19:44 +0200)
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 7a34e43186fb8bad0d921c033d8afb832f3f3ee9..39251afdce385fea190a955c3d0804e9bc106b6d 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-5139,8
+5139,6
@@
st_translate_program(
goto out;
}
- memset(t, 0, sizeof *t);
-
t->procType = procType;
t->inputMapping = inputMapping;
t->outputMapping = outputMapping;