mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Related-To: NEO-5069 Change-Id: Icbfeb8d72cd764bb3c90d5c699998455f81dd3ee Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
16 lines
380 B
C++
16 lines
380 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/memory_manager/compression_selector.h"
|
|
|
|
namespace NEO {
|
|
bool CompressionSelector::preferRenderCompressedBuffer(const AllocationProperties &properties) {
|
|
return GraphicsAllocation::AllocationType::BUFFER_COMPRESSED == properties.allocationType;
|
|
}
|
|
|
|
} // namespace NEO
|