mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
fix: Don't check aux capable in case of MSAA surface on xe2 and later
Related-To: NEO-13290 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e1f9bb419e
commit
5ef1ff574b
@@ -113,7 +113,7 @@ void ImageHw<GfxFamily>::setAuxParamsForMultisamples(RENDER_SURFACE_STATE *surfa
|
||||
if (getMcsAllocation()) {
|
||||
auto mcsGmm = getMcsAllocation()->getDefaultGmm();
|
||||
|
||||
if (mcsGmm->unifiedAuxTranslationCapable() && mcsGmm->hasMultisampleControlSurface()) {
|
||||
if (EncodeSurfaceState<GfxFamily>::shouldProgramAuxForMcs(mcsGmm->unifiedAuxTranslationCapable(), mcsGmm->hasMultisampleControlSurface())) {
|
||||
auto *releaseHelper = executionEnvironment->rootDeviceEnvironments[rootDeviceIndex]->getReleaseHelper();
|
||||
DEBUG_BREAK_IF(releaseHelper == nullptr);
|
||||
EncodeSurfaceState<GfxFamily>::setAuxParamsForMCSCCS(surfaceState, releaseHelper);
|
||||
|
||||
Reference in New Issue
Block a user