SWDEV-409815 - Fix image view cache issue

Make sure parent_ field is cleared for the internal image views.
The internal image views don't require dependencies tracking.
The issue appeard only when Navi10 pitch workaround was enabled.

Change-Id: I376d212750085a9391f8c32fc2979dcb5d93c89c
This commit is contained in:
German Andryeyev
2023-07-11 11:21:43 -04:00
parent 7912f3af89
commit 6b89980fb2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -323,6 +323,7 @@ class Memory : public amd::RuntimeObject {
// Accessors
Memory* parent() const { return parent_; }
void SetParent(amd::Memory* parent) { parent_ = parent; }
bool isParent() const { return isParent_; }
size_t getOrigin() const { return origin_; }