anv/pipeline: Don't leak the binding map

This commit is contained in:
Jason Ekstrand
2016-02-18 11:04:53 -08:00
parent 8c23392c26
commit e881c73975
3 changed files with 8 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ genX(compute_pipeline_create)(
*/
memset(pipeline->prog_data, 0, sizeof(pipeline->prog_data));
memset(pipeline->scratch_start, 0, sizeof(pipeline->scratch_start));
memset(pipeline->bindings, 0, sizeof(pipeline->bindings));
pipeline->vs_simd8 = NO_KERNEL;
pipeline->vs_vec4 = NO_KERNEL;