mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Do not allocate dynamic state heap if not needed
Dynamic state heap is only used for sampler data. Related-To: NEO-6821 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
afd71beee9
commit
308f9ccfff
@ -827,9 +827,9 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
CompletionStamp completionStamp = getGpgpuCommandStreamReceiver().flushTask(
|
||||
commandStream,
|
||||
commandStreamStart,
|
||||
*dsh,
|
||||
*ioh,
|
||||
getIndirectHeap(IndirectHeap::Type::SURFACE_STATE, 0u),
|
||||
dsh,
|
||||
ioh,
|
||||
&getIndirectHeap(IndirectHeap::Type::SURFACE_STATE, 0u),
|
||||
taskLevel,
|
||||
dispatchFlags,
|
||||
getDevice());
|
||||
@ -1035,9 +1035,9 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueCommandWithoutKernel(
|
||||
completionStamp = getGpgpuCommandStreamReceiver().flushTask(
|
||||
*commandStream,
|
||||
commandStreamStart,
|
||||
getIndirectHeap(IndirectHeap::Type::DYNAMIC_STATE, 0u),
|
||||
getIndirectHeap(IndirectHeap::Type::INDIRECT_OBJECT, 0u),
|
||||
getIndirectHeap(IndirectHeap::Type::SURFACE_STATE, 0u),
|
||||
&getIndirectHeap(IndirectHeap::Type::DYNAMIC_STATE, 0u),
|
||||
&getIndirectHeap(IndirectHeap::Type::INDIRECT_OBJECT, 0u),
|
||||
&getIndirectHeap(IndirectHeap::Type::SURFACE_STATE, 0u),
|
||||
taskLevel,
|
||||
dispatchFlags,
|
||||
getDevice());
|
||||
|
Reference in New Issue
Block a user