Optimize MultiGraphicsAllocation

Related-To: NEO-4672
Change-Id: I28b23a1d1f3d824d2e2cbe6a62a7151a7d9d2296
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
Krzysztof Gibala
2020-08-03 11:08:19 +02:00
committed by sys_ocldev
parent ef357b78ff
commit 1868658b2f
8 changed files with 16 additions and 9 deletions

View File

@@ -763,7 +763,7 @@ struct NullImage : public Image {
using Image::imageDesc;
using Image::imageFormat;
NullImage() : Image(nullptr, MemoryProperties(), cl_mem_flags{}, 0, 0, nullptr, cl_image_format{},
NullImage() : Image(nullptr, MemoryProperties(), cl_mem_flags{}, 0, 0, nullptr, nullptr, cl_image_format{},
cl_image_desc{}, false, GraphicsAllocationHelper::toMultiGraphicsAllocation(new MockGraphicsAllocation(nullptr, 0)), false,
0, 0, ClSurfaceFormatInfo{}, nullptr) {
}