vk/meta: Destroy vertex shaders when setting up clearing

This commit is contained in:
Jason Ekstrand
2015-08-25 18:51:26 -07:00
parent 4bb9915755
commit 74e076bba8
+2
View File
@@ -187,7 +187,9 @@ anv_device_init_meta_clear_state(struct anv_device *device)
},
&device->meta_state.clear.pipeline);
anv_DestroyShaderModule(anv_device_to_handle(device), vsm);
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
anv_DestroyShader(anv_device_to_handle(device), vs);
anv_DestroyShader(anv_device_to_handle(device), fs);
}