SWDEV-297808 - Free sampler when destroying textures
Change-Id: Idaab76392d18c7f5fedc89497e93f0d17835001a
Этот коммит содержится в:
@@ -329,6 +329,7 @@ hipError_t ihipDestroyTextureObject(hipTextureObject_t texObject) {
|
||||
!texObject->image->isParent();
|
||||
if (isImageFromBuffer || isImageView) {
|
||||
texObject->image->release();
|
||||
texObject->sampler->release();
|
||||
}
|
||||
|
||||
// TODO Should call ihipFree() to not polute the api trace.
|
||||
|
||||
Ссылка в новой задаче
Block a user