SWDEV-298434 - Delete texture references resources before deleting the ptr.
Change-Id: Ib616aadd45eced1b10891c908e986bbeddc08288
这个提交包含在:
1 父节点
2f87d24dd2
当前提交
7145c500b3
3 个文件已更改
+25
-9
没有与搜索条件相匹配的文件
@@ -41,6 +41,7 @@ DeviceVar::~DeviceVar() {
|
||||
|
||||
if (shadowVptr != nullptr) {
|
||||
textureReference* texRef = reinterpret_cast<textureReference*>(shadowVptr);
|
||||
ihipUnbindTexture(texRef);
|
||||
delete texRef;
|
||||
shadowVptr = nullptr;
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户