SWDEV-389541 - mipmap tests failed
Change-Id: I8dec8ff9515c55a3a6b16157f7d064b2b109d5f3
This commit is contained in:
committad av
AlexBin Xie
förälder
a0c1f496a4
incheckning
475f80ee0e
@@ -2368,7 +2368,7 @@ RUNTIME_ENTRY(cl_int, clEnqueueWriteImage,
|
||||
return CL_INVALID_OPERATION;
|
||||
}
|
||||
|
||||
if (dstImage->getDims() == 2 && origin[2] != 0) {
|
||||
if (dstImage->getDims() == 2 && origin[2] != 0 && dstImage->getMipLevels() == 0) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
|
||||
|
||||
Referens i nytt ärende
Block a user