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

@@ -48,7 +48,7 @@ class BindlessHeapsHelper {
int getReusedSshVectorIndex(size_t ssSize) {
int index = 0;
if (ssSize == 3 * surfaceStateSize) {
if (ssSize == 2 * surfaceStateSize) {
index = 1;
} else {
UNRECOVERABLE_IF(ssSize != surfaceStateSize);

View File

@@ -8,8 +8,6 @@
#pragma once
#include "shared/source/gmm_helper/gmm_lib.h"
#include "third_party/opencl_headers/CL/cl_ext.h"
namespace NEO {
enum SurfaceFormat : unsigned short {
GFX3DSTATE_SURFACEFORMAT_R32G32B32A32_FLOAT = 0x000,
@@ -244,27 +242,6 @@ struct ImageInfo {
bool useLocalMemory;
};
struct ImageImplicitArgs {
const uint8_t structSize = sizeof(ImageImplicitArgs);
uint8_t structVersion;
uint64_t imageWidth;
uint64_t imageHeight;
uint64_t imageDepth;
uint64_t imageArraySize;
uint32_t numSamples;
cl_channel_type channelType;
cl_channel_order channelOrder;
uint32_t numMipLevels;
uint64_t flatBaseOffset;
uint64_t flatWidth;
uint64_t flagHeight;
uint64_t flatPitch;
static constexpr uint8_t getSize() { return sizeof(ImageImplicitArgs); }
};
static_assert(ImageImplicitArgs::getSize() == 88);
struct McsSurfaceInfo {
uint32_t pitch;
uint32_t qPitch;