Added offset value verification.
Added offset value verification.
Tá an tiomantas seo le fáil i:
1 tuismitheoir
e2eeee29da
tiomantas
26f944b1c1
1 comhad athraithe
+4
-1
@@ -71,5 +71,8 @@ HIPCHECK(hipBindTextureToArray(&tex, hipArray, &chan_desc));
|
||||
HIPCHECK(hipGetTextureAlignmentOffset(&offset,&tex));
|
||||
HIPCHECK(hipUnbindTexture(&tex));
|
||||
HIPCHECK(hipFreeArray(hipArray));
|
||||
return true;
|
||||
if(offset != 0)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir