SWDEV-331355 - Fixing the surface object on fillMemory function call.

Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f
Этот коммит содержится в:
kjayapra-amd
2022-04-28 12:38:04 -07:00
коммит произвёл Karthik Jayaprakash
родитель 8e5205bb3a
Коммит 643ee46f28
+2 -1
Просмотреть файл
@@ -2442,7 +2442,8 @@ void VirtualGPU::submitSvmFillMemory(amd::SvmFillMemoryCommand& cmd) {
assert((dstMemory->validateRegion(origin, size)) && "The incorrect fill size!");
if (!fillMemory(cmd.type(), dstMemory, cmd.pattern(), cmd.patternSize(), origin, size, true)) {
if (!fillMemory(cmd.type(), dstMemory, cmd.pattern(), cmd.patternSize(), size, origin, size,
true)) {
cmd.setStatus(CL_INVALID_OPERATION);
}
} else {