diff options
author | Jason Ekstrand <[email protected]> | 2016-02-18 11:04:53 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-02-18 11:09:30 -0800 |
commit | e881c73975cb12ce58d4ebc362c6ad18a8e4b3ca (patch) | |
tree | bf306d84784cca520f392096df2a29d7966c02da /src/intel/vulkan/genX_pipeline.c | |
parent | 8c23392c26916711b7b02337fd342ee9765b6fd4 (diff) |
anv/pipeline: Don't leak the binding map
Diffstat (limited to 'src/intel/vulkan/genX_pipeline.c')
-rw-r--r-- | src/intel/vulkan/genX_pipeline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 4c2e0bc6e0d..54ec8307d02 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -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; |