Revert Implement WA for 2d Images

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2021-08-16 11:26:44 +00:00
committed by Compute-Runtime-Automation
parent 5d4a92cbda
commit 41fc2e8cce
3 changed files with 0 additions and 59 deletions

View File

@@ -7,8 +7,3 @@
template <>
void setFilterMode<Family>(typename Family::RENDER_SURFACE_STATE *surfaceState, const HardwareInfo *hwInfo){};
template <>
bool checkIfArrayNeeded<Family>(ImageType type, const HardwareInfo *hwInfo) {
return false;
};

View File

@@ -17,8 +17,6 @@
namespace NEO {
template <typename GfxFamily>
void setFilterMode(typename GfxFamily::RENDER_SURFACE_STATE *surfaceState, const HardwareInfo *hwInfo);
template <typename GfxFamily>
bool checkIfArrayNeeded(ImageType type, const HardwareInfo *hwInfo);
template <typename GfxFamily>
inline void setImageSurfaceState(typename GfxFamily::RENDER_SURFACE_STATE *surfaceState, const ImageInfo &imageInfo, Gmm *gmm, GmmHelper &gmmHelper, uint32_t cubeFaceIndex, uint64_t gpuAddress, const SurfaceOffsets &surfaceOffsets, bool isNV12Format) {
@@ -50,7 +48,6 @@ inline void setImageSurfaceState(typename GfxFamily::RENDER_SURFACE_STATE *surfa
renderTargetViewExtent = 1;
minimumArrayElement = cubeFaceIndex;
}
isImageArray |= checkIfArrayNeeded<GfxFamily>(imageInfo.imgDesc.imageType, gmmHelper.getHardwareInfo());
surfaceState->setAuxiliarySurfaceMode(AUXILIARY_SURFACE_MODE::AUXILIARY_SURFACE_MODE_AUX_NONE);
surfaceState->setAuxiliarySurfacePitch(1u);