mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix compilation on clang 4 and 5
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/209 Change-Id: If0cecc836138f038da9dc74cf21c865b61aadddf
This commit is contained in:

committed by
sys_ocldev

parent
dd39251af5
commit
6689f45289
@ -21,12 +21,12 @@ class DrmAllocation : public GraphicsAllocation {
|
||||
public:
|
||||
DrmAllocation(AllocationType allocationType, BufferObject *bo, void *ptrIn, size_t sizeIn, osHandle sharedHandle, MemoryPool::Type pool, bool multiOsContextCapable)
|
||||
: GraphicsAllocation(allocationType, ptrIn, sizeIn, sharedHandle, pool, multiOsContextCapable),
|
||||
bufferObjects({bo}) {
|
||||
bufferObjects({{bo}}) {
|
||||
}
|
||||
|
||||
DrmAllocation(AllocationType allocationType, BufferObject *bo, void *ptrIn, uint64_t gpuAddress, size_t sizeIn, MemoryPool::Type pool, bool multiOsContextCapable)
|
||||
: GraphicsAllocation(allocationType, ptrIn, gpuAddress, 0, sizeIn, pool, multiOsContextCapable),
|
||||
bufferObjects({bo}) {
|
||||
bufferObjects({{bo}}) {
|
||||
}
|
||||
|
||||
DrmAllocation(AllocationType allocationType, BufferObjects &bos, void *ptrIn, uint64_t gpuAddress, size_t sizeIn, MemoryPool::Type pool, bool multiOsContextCapable)
|
||||
|
Reference in New Issue
Block a user