From: Marek Olšák Date: Tue, 26 May 2015 13:18:27 +0000 (+0200) Subject: glsl_to_tgsi: remove memset after calloc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30b74c02cd57463591588274ad638ca80b34cb57;p=mesa.git glsl_to_tgsi: remove memset after calloc --- 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;