mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
fix: add support for arrays of NV12 surfaces
Resolves: NEO-11498 Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a28d6557ad
commit
bca6568e5b
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -63,6 +63,8 @@ class MockGmmResourceInfo : public GmmResourceInfo {
|
||||
|
||||
GMM_RESOURCE_TYPE getResourceType() override { return mockResourceCreateParams.Type; }
|
||||
|
||||
GMM_RESOURCE_USAGE_TYPE getResourceUsage() { return mockResourceCreateParams.Usage; }
|
||||
|
||||
GMM_RESOURCE_FLAG *getResourceFlags() override { return &mockResourceCreateParams.Flags; }
|
||||
|
||||
GMM_STATUS getOffset(GMM_REQ_OFFSET_INFO &reqOffsetInfo) override;
|
||||
|
||||
Reference in New Issue
Block a user