mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 08:37:12 +08:00
- revert "Fix reported row/slicePitch for mip-maps" - calculate mipmap offset without gmm Change-Id: Id4802ef9624ad330e0d0f871dfa4d4fc35a7ba33
26 lines
574 B
C++
26 lines
574 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "hw_cmds.h"
|
|
#include "runtime/mem_obj/image.h"
|
|
#include "runtime/mem_obj/image.inl"
|
|
#include <map>
|
|
|
|
namespace OCLRT {
|
|
|
|
typedef BDWFamily Family;
|
|
static auto gfxCore = IGFX_GEN8_CORE;
|
|
|
|
template <typename GfxFamily>
|
|
void ImageHw<GfxFamily>::setMediaSurfaceRotation(void *) {}
|
|
|
|
template <typename GfxFamily>
|
|
void ImageHw<GfxFamily>::setSurfaceMemoryObjectControlStateIndexToMocsTable(void *, uint32_t) {}
|
|
|
|
#include "runtime/mem_obj/image_factory_init.inl"
|
|
} // namespace OCLRT
|