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:
Compute-Runtime-Validation
2023-12-23 11:32:41 +01:00
committed by Compute-Runtime-Automation
parent 3c722537dc
commit f2c9d7172a
15 changed files with 26 additions and 415 deletions

View File

@@ -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);