mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00
refactor: change name of variable
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
e6079cdf24
commit
7cd9a2aa60
@ -1223,13 +1223,13 @@ uint32_t KernelImp::getSurfaceStateHeapDataSize() const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool noBindlessExplicitArgs = std::none_of(usingSurfaceStateHeap.cbegin(), usingSurfaceStateHeap.cend(), [](bool i) { return i; });
|
const bool noneOfExplicitArgsRequireLocalSsh = std::none_of(usingSurfaceStateHeap.cbegin(), usingSurfaceStateHeap.cend(), [](bool i) { return i; });
|
||||||
|
|
||||||
if (isBindlessImplicitArgPresent && !bindlessHeapsHelper) {
|
if (isBindlessImplicitArgPresent && !bindlessHeapsHelper) {
|
||||||
return surfaceStateHeapDataSize;
|
return surfaceStateHeapDataSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noBindlessExplicitArgs) {
|
if (noneOfExplicitArgsRequireLocalSsh) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user