Revert "refactor: create new members for storing spill and private memory in ...

This reverts commit 87eb5f554a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-01-23 08:46:41 +01:00
committed by Compute-Runtime-Automation
parent b34e8646ac
commit f9f9035b95
63 changed files with 480 additions and 452 deletions

View File

@@ -566,17 +566,17 @@ FlushStamp CommandStreamReceiver::obtainCurrentFlushStamp() const {
return flushStamp->peekStamp();
}
void CommandStreamReceiver::setRequiredScratchSizes(uint32_t newRequiredScratchSlot0Size, uint32_t newRequiredScratchSlot1Size) {
if (newRequiredScratchSlot0Size > requiredScratchSlot0Size) {
requiredScratchSlot0Size = newRequiredScratchSlot0Size;
void CommandStreamReceiver::setRequiredScratchSizes(uint32_t newRequiredScratchSize, uint32_t newRequiredPrivateScratchSize) {
if (newRequiredScratchSize > requiredScratchSize) {
requiredScratchSize = newRequiredScratchSize;
}
if (newRequiredScratchSlot1Size > requiredScratchSlot1Size) {
requiredScratchSlot1Size = newRequiredScratchSlot1Size;
if (newRequiredPrivateScratchSize > requiredPrivateScratchSize) {
requiredPrivateScratchSize = newRequiredPrivateScratchSize;
}
}
GraphicsAllocation *CommandStreamReceiver::getScratchAllocation() {
return scratchSpaceController->getScratchSpaceSlot0Allocation();
return scratchSpaceController->getScratchSpaceAllocation();
}
void CommandStreamReceiver::overwriteFlatBatchBufferHelper(FlatBatchBufferHelper *newHelper) {