mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Missing UnifiedAuxSurface check in MCS scenarios
Change-Id: I3b53ddea21997604481ece554cd24a6809523ab8
This commit is contained in:
committed by
sys_ocldev
parent
6b368803fc
commit
f3f53ed14b
@@ -180,7 +180,7 @@ void ImageHw<GfxFamily>::setAuxParamsForMultisamples(RENDER_SURFACE_STATE *surfa
|
||||
auto mcsGmm = getMcsAllocation()->gmm;
|
||||
auto gmmFlags = mcsGmm->gmmResourceInfo->getResourceFlags();
|
||||
|
||||
if (gmmFlags->Gpu.CCS) { // Ignore MCS allocation when Color Control Surface is available
|
||||
if (gmmFlags->Gpu.CCS && gmmFlags->Gpu.UnifiedAuxSurface) { // Ignore MCS allocation when Color Control Surface is available
|
||||
setAuxParamsForCCS(surfaceState, mcsGmm);
|
||||
} else {
|
||||
surfaceState->setAuxiliarySurfaceMode((typename RENDER_SURFACE_STATE::AUXILIARY_SURFACE_MODE)1);
|
||||
|
||||
Reference in New Issue
Block a user