mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +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
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user