Lines Matching refs:SafeModulo
1955 …if ((SafeModulo(extent->depth, granularity->depth) != 0) || (SafeModulo(extent->width, granularity… in IsExtentAligned()
1956 (SafeModulo(extent->height, granularity->height) != 0)) { in IsExtentAligned()
2025 z_ok = ((0 == SafeModulo(extent->depth, granularity->depth)) || in CheckItgExtent()
2029 y_ok = ((0 == SafeModulo(extent->height, granularity->height)) || in CheckItgExtent()
2033 x_ok = ((0 == SafeModulo(extent->width, granularity->width)) || in CheckItgExtent()
2210 if ((SafeModulo(region.srcOffset.x, block_size.width) != 0) || in ValidateImageCopyData()
2211 (SafeModulo(region.srcOffset.y, block_size.height) != 0) || in ValidateImageCopyData()
2212 (SafeModulo(region.srcOffset.z, block_size.depth) != 0)) { in ValidateImageCopyData()
2222 if ((SafeModulo(src_copy_extent.width, block_size.width) != 0) && in ValidateImageCopyData()
2234 if ((SafeModulo(src_copy_extent.height, block_size.height) != 0) && in ValidateImageCopyData()
2247 …if ((SafeModulo(copy_depth, block_size.depth) != 0) && (copy_depth + region.srcOffset.z != mip_ext… in ValidateImageCopyData()
2327 if ((SafeModulo(region.dstOffset.x, block_size.width) != 0) || in ValidateImageCopyData()
2328 (SafeModulo(region.dstOffset.y, block_size.height) != 0) || in ValidateImageCopyData()
2329 (SafeModulo(region.dstOffset.z, block_size.depth) != 0)) { in ValidateImageCopyData()
2339 if ((SafeModulo(dst_copy_extent.width, block_size.width) != 0) && in ValidateImageCopyData()
2351 if ((SafeModulo(dst_copy_extent.height, block_size.height) != 0) && in ValidateImageCopyData()
2364 …if ((SafeModulo(copy_depth, block_size.depth) != 0) && (copy_depth + region.dstOffset.z != mip_ext… in ValidateImageCopyData()
4624 …if (!FormatIsDepthAndStencil(image_state->createInfo.format) && SafeModulo(pRegions[i].bufferOffse… in ValidateBufferImageCopyData()
4633 if (SafeModulo(pRegions[i].bufferOffset, 4) != 0) { in ValidateBufferImageCopyData()
4681 if (SafeModulo(pRegions[i].bufferRowLength, block_size.width) != 0) { in ValidateBufferImageCopyData()
4690 if (SafeModulo(pRegions[i].bufferImageHeight, block_size.height) != 0) { in ValidateBufferImageCopyData()
4699 if ((SafeModulo(pRegions[i].imageOffset.x, block_size.width) != 0) || in ValidateBufferImageCopyData()
4700 (SafeModulo(pRegions[i].imageOffset.y, block_size.height) != 0) || in ValidateBufferImageCopyData()
4701 (SafeModulo(pRegions[i].imageOffset.z, block_size.depth) != 0)) { in ValidateBufferImageCopyData()
4712 if (SafeModulo(pRegions[i].bufferOffset, block_size_in_bytes) != 0) { in ValidateBufferImageCopyData()
4722 if ((SafeModulo(pRegions[i].imageExtent.width, block_size.width) != 0) && in ValidateBufferImageCopyData()
4733 if ((SafeModulo(pRegions[i].imageExtent.height, block_size.height) != 0) && in ValidateBufferImageCopyData()
4744 if ((SafeModulo(pRegions[i].imageExtent.depth, block_size.depth) != 0) && in ValidateBufferImageCopyData()