feature: packed surface format

Resolves: NEO-13669

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
Damian Tomczak
2025-06-12 08:16:53 +00:00
committed by Compute-Runtime-Automation
parent 05a9f9b18c
commit 5cd1423bab
29 changed files with 379 additions and 80 deletions

View File

@@ -22,6 +22,7 @@ struct HardwareInfo;
struct PipeControlArgs;
struct PipelineSelectArgs;
struct RootDeviceEnvironment;
struct ImageInfo;
union SurfaceStateBufferLength {
uint32_t length;
@@ -72,6 +73,7 @@ struct EncodeSurfaceState {
static void setPitchForScratch(R_SURFACE_STATE *surfaceState, uint32_t pitch, const ProductHelper &productHelper);
static uint32_t getPitchForScratchInBytes(R_SURFACE_STATE *surfaceState, const ProductHelper &productHelper);
static bool shouldProgramAuxForMcs(bool isAuxCapable, bool hasMcsSurface);
static void convertSurfaceStateToPacked(R_SURFACE_STATE *surfaceState, ImageInfo &imgInfo);
};
} // namespace NEO