mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Disable compression flags when image is not compressed
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ad9aaa260a
commit
1281e858df
@@ -90,6 +90,8 @@ void ImageHw<GfxFamily>::setImageArg(void *memory, bool setAsMediaBlockImage, ui
|
||||
setAuxParamsForMultisamples(surfaceState);
|
||||
} else if (gmm && gmm->isRenderCompressed) {
|
||||
EncodeSurfaceState<GfxFamily>::setImageAuxParamsForCCS(surfaceState, gmm);
|
||||
} else {
|
||||
EncodeSurfaceState<GfxFamily>::disableCompressionFlags(surfaceState);
|
||||
}
|
||||
appendSurfaceStateDepthParams(surfaceState, gmm);
|
||||
EncodeSurfaceState<GfxFamily>::appendImageCompressionParams(surfaceState, graphicsAllocation, gmmHelper, isImageFromBuffer());
|
||||
|
||||
Reference in New Issue
Block a user