mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Aux programming fixes + ULT improvements
- Dont program clear color aux params for multisampled images (depth or MCS) - Mock Gmm PageTable manager default actions - Local Wddm for WddmCsr tests to make expects on creation - Set Gmm PageTable manager for Wddm Memory Manager tests without WddmCsr Change-Id: I8ccfddb06340bc81184e07eff5a7078756d28571
This commit is contained in:
committed by
sys_ocldev
parent
13ac81f465
commit
8b9713582a
@@ -186,9 +186,7 @@ void ImageHw<GfxFamily>::setAuxSurfaceStateParams(RENDER_SURFACE_STATE *surfaceS
|
||||
} else if (isDepthFormat(imageFormat)) {
|
||||
surfaceState->setMultisampledSurfaceStorageFormat(RENDER_SURFACE_STATE::MULTISAMPLED_SURFACE_STORAGE_FORMAT::MULTISAMPLED_SURFACE_STORAGE_FORMAT_DEPTH_STENCIL);
|
||||
}
|
||||
}
|
||||
|
||||
if (gmm && gmm->isRenderCompressed) {
|
||||
} else if (gmm && gmm->isRenderCompressed) {
|
||||
surfaceState->setAuxiliarySurfaceMode((typename RENDER_SURFACE_STATE::AUXILIARY_SURFACE_MODE)5);
|
||||
surfaceState->setAuxiliarySurfacePitch(std::max(gmm->gmmResourceInfo->getRenderAuxPitchTiles(), 1u));
|
||||
surfaceState->setAuxiliarySurfaceQpitch(gmm->gmmResourceInfo->getAuxQPitch());
|
||||
|
||||
Reference in New Issue
Block a user