vk/meta: Destroy shader modules

This commit is contained in:
Jason Ekstrand
2015-07-22 17:51:26 -07:00
parent 3460e6cb2f
commit b1fcc30ff0
+3
View File
@@ -141,6 +141,7 @@ anv_device_init_meta_clear_state(struct anv_device *device)
},
&device->meta_state.clear.pipeline);
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
anv_DestroyShader(anv_device_to_handle(device), fs);
}
@@ -476,7 +477,9 @@ anv_device_init_meta_blit_state(struct anv_device *device)
},
&device->meta_state.blit.pipeline);
anv_DestroyShaderModule(anv_device_to_handle(device), vsm);
anv_DestroyShader(anv_device_to_handle(device), vs);
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
anv_DestroyShader(anv_device_to_handle(device), fs);
}