2018-04-04 11:34:46 +02:00
|
|
|
/*
|
2019-03-26 11:59:46 +01:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-09-18 09:11:08 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
2018-04-04 11:34:46 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "runtime/helpers/flat_batch_buffer_helper.h"
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2018-04-04 11:34:46 +02:00
|
|
|
|
|
|
|
|
template <typename GfxFamily>
|
|
|
|
|
class FlatBatchBufferHelperHw : public FlatBatchBufferHelper {
|
|
|
|
|
public:
|
2018-10-11 11:19:49 +02:00
|
|
|
using FlatBatchBufferHelper::FlatBatchBufferHelper;
|
2018-08-24 15:23:45 +02:00
|
|
|
GraphicsAllocation *flattenBatchBuffer(BatchBuffer &batchBuffer, size_t &sizeBatchBuffer, DispatchMode dispatchMode) override;
|
2018-04-04 11:34:46 +02:00
|
|
|
char *getIndirectPatchCommands(size_t &indirectPatchCommandsSize, std::vector<PatchInfoData> &indirectPatchInfo) override;
|
|
|
|
|
void removePipeControlData(size_t pipeControlLocationSize, void *pipeControlForNooping) override;
|
|
|
|
|
};
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|