commit
cc6aa1d161280f10ded7834d1ec2413bc97589fe changed to using rzalloc
for gl_program creation but one instance for program creation was still
using calloc.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
rzalloc(NULL, struct gen4_fragment_program);
prog = &g4_prog->base;
} else {
- prog = CALLOC_STRUCT(brw_program);
+ prog = rzalloc(NULL, struct brw_program);
}
if (prog) {