mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
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:
committed by
Compute-Runtime-Automation
parent
b34e8646ac
commit
f9f9035b95
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user