glsl_to_tgsi: remove memset after calloc
authorMarek Olšák <marek.olsak@amd.com>
Tue, 26 May 2015 13:18:27 +0000 (15:18 +0200)
committerMarek 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

index 7a34e43186fb8bad0d921c033d8afb832f3f3ee9..39251afdce385fea190a955c3d0804e9bc106b6d 100644 (file)
@@ -5139,8 +5139,6 @@ st_translate_program(
       goto out;
    }
 
-   memset(t, 0, sizeof *t);
-
    t->procType = procType;
    t->inputMapping = inputMapping;
    t->outputMapping = outputMapping;