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

Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f
这个提交包含在:
kjayapra-amd 编写, Karthik Jayaprakash 于 2022-05-04 14:24:03 -04:00 提交
1 父节点 8e5205bb3a
当前提交 643ee46f28
1 个文件已更改
+2 -1
+2 -1
查看文件
@@ -2442,7 +2442,8 @@ void VirtualGPU::submitSvmFillMemory(amd::SvmFillMemoryCommand& cmd) {
assert((dstMemory->validateRegion(origin, size)) && "The incorrect fill size!"); 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); cmd.setStatus(CL_INVALID_OPERATION);
} }
} else { } else {