SWDEV-207312 - Comment out incorrect cl-gl inter-op code to facilitate Linux-Pro testing
Change-Id: I273476465332ffcda50a6095f839e1bc07863c8e
[ROCm/clr commit: 290b42625a]
This commit is contained in:
@@ -286,10 +286,13 @@ bool Memory::createInteropBuffer(GLenum targetType, int miplevel) {
|
||||
|
||||
if (status != HSA_STATUS_SUCCESS) return false;
|
||||
|
||||
//! @todo Need to handle metadata correctly
|
||||
#if 0
|
||||
// if map_buffer wrote anything in metadata, copy it to amdImageDesc_
|
||||
if (metadata_size != 0) {
|
||||
memcpy(amdImageDesc_, metadata, metadata_size);
|
||||
}
|
||||
#endif //0
|
||||
|
||||
kind_ = MEMORY_KIND_INTEROP;
|
||||
assert(deviceMemory_ != nullptr && "Interop map failed to produce a pointer!");
|
||||
|
||||
Reference in New Issue
Block a user