mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Revert "fix: store image implicit args in bindless slot 1"
This reverts commit b6d572ddb8.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3c722537dc
commit
f2c9d7172a
@@ -1020,7 +1020,7 @@ bool MemoryManager::allocateBindlessSlot(GraphicsAllocation *allocation) {
|
||||
if (bindlessHelper && allocation->getBindlessOffset() == std::numeric_limits<uint64_t>::max()) {
|
||||
auto &gfxCoreHelper = peekExecutionEnvironment().rootDeviceEnvironments[allocation->getRootDeviceIndex()]->getHelper<GfxCoreHelper>();
|
||||
const auto isImage = allocation->getAllocationType() == AllocationType::image || allocation->getAllocationType() == AllocationType::sharedImage;
|
||||
auto surfStateCount = isImage ? 3 : 1;
|
||||
auto surfStateCount = isImage ? 2 : 1;
|
||||
auto surfaceStateSize = surfStateCount * gfxCoreHelper.getRenderSurfaceStateSize();
|
||||
|
||||
auto surfaceStateInfo = bindlessHelper->allocateSSInHeap(surfaceStateSize, allocation, NEO::BindlessHeapsHelper::globalSsh);
|
||||
|
||||
Reference in New Issue
Block a user