summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-26 15:18:27 +0200
committerMarek Olšák <[email protected]>2015-06-05 19:44:32 +0200
commit30b74c02cd57463591588274ad638ca80b34cb57 (patch)
tree4c5e810d040e526e365557ae7eabdbcceff8d591 /src/mesa
parent6ae3bc256927b583690729b8940a4418e75b0596 (diff)
glsl_to_tgsi: remove memset after calloc
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 7a34e43186f..39251afdce3 100644
--- 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;