mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Revert Implement WA for 2d Images
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5d4a92cbda
commit
41fc2e8cce
@@ -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;
|
||||
};
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user