Aux surface programming for Buffers [1/n]: Gmm interface improvement

Change-Id: I984b8ebee27808a236217e82bb4e910550d624c4
This commit is contained in:
Dunajski, Bartosz
2018-06-29 11:48:19 +02:00
committed by sys_ocldev
parent 86565e5f06
commit e26d67cde3
19 changed files with 104 additions and 132 deletions

View File

@@ -102,7 +102,7 @@ Image *D3DSurface::create(Context *context, cl_dx9_surface_info_khr *surfaceInfo
imgDesc.image_width /= 2;
imgDesc.image_height /= 2;
}
Gmm *gmm = GmmHelper::createGmmAndQueryImgParams(imgInfo);
Gmm *gmm = new Gmm(imgInfo);
imgDesc.image_row_pitch = imgInfo.rowPitch;
imgDesc.image_slice_pitch = imgInfo.slicePitch;