Add image view allocation

If deferred allocation is disabled, then make sure the image view
is created without a delay. Also reset the allocation state, since
create() method isn't called for a view creation.

Change-Id: I7aa22a62bff18289ade83e56b5d3305ba68c715b
This commit is contained in:
German Andryeyev committed 2020-11-18 09:37:30 -05:00
1 szülő ec22c54d85
commit 089a5cc4ad
2 files changed
+23 -3

No files matched your search

+2
Fájl megtekintése
@@ -215,6 +215,8 @@ class Memory : public amd::RuntimeObject {
void setSize(size_t size) { size_ = size; }
void setInteropObj(InteropObject* obj) { interopObj_ = obj; }
void resetAllocationState();
public:
//! Placement new operator.
void* operator new(size_t size, //!< Original allocation size