mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Compression refactor [3/n]
Dont use allocation type for compression preference Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4b7eb07474
commit
5c266f9ab0
@@ -132,9 +132,7 @@ class Buffer : public MemObj {
|
||||
bool useGlobalAtomics,
|
||||
bool areMultipleSubDevicesInContext);
|
||||
|
||||
static void provideCompressionHint(GraphicsAllocation::AllocationType allocationType,
|
||||
Context *context,
|
||||
Buffer *buffer);
|
||||
static void provideCompressionHint(bool compressionEnabled, Context *context, Buffer *buffer);
|
||||
|
||||
BufferCreatFunc createFunction = nullptr;
|
||||
bool isSubBuffer();
|
||||
|
||||
Reference in New Issue
Block a user