mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
fix: global bindless offsets for implicit args
- do not patch bindless offsets for implicit args in with global bindless allocator, the offsets are patched at kernel initialization time and do not change Related-To: NEO-7063 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3e5dec27ef
commit
c9e8931a18
@@ -1365,7 +1365,11 @@ void KernelImp::patchBindlessOffsetsInCrossThreadData(uint64_t bindlessSurfaceSt
|
||||
}
|
||||
}
|
||||
|
||||
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
|
||||
const auto bindlessHeapsHelper = this->module && this->module->getDevice()->getNEODevice()->getBindlessHeapsHelper();
|
||||
|
||||
if (!bindlessHeapsHelper) {
|
||||
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
|
||||
}
|
||||
}
|
||||
|
||||
void KernelImp::patchSamplerBindlessOffsetsInCrossThreadData(uint64_t samplerStateOffset) const {
|
||||
|
||||
Reference in New Issue
Block a user