Lines Matching refs:SafeModulo
1993 …if ((SafeModulo(extent->depth, granularity->depth) != 0) || (SafeModulo(extent->width, granularity… in IsExtentAligned()
1994 (SafeModulo(extent->height, granularity->height) != 0)) { in IsExtentAligned()
2061 z_ok = ((0 == SafeModulo(extent->depth, granularity->depth)) || in CheckItgExtent()
2065 y_ok = ((0 == SafeModulo(extent->height, granularity->height)) || in CheckItgExtent()
2069 x_ok = ((0 == SafeModulo(extent->width, granularity->width)) || in CheckItgExtent()
2243 if ((SafeModulo(region.srcOffset.x, block_size.width) != 0) || in ValidateImageCopyData()
2244 (SafeModulo(region.srcOffset.y, block_size.height) != 0) || in ValidateImageCopyData()
2245 (SafeModulo(region.srcOffset.z, block_size.depth) != 0)) { in ValidateImageCopyData()
2255 if ((SafeModulo(src_copy_extent.width, block_size.width) != 0) && in ValidateImageCopyData()
2267 if ((SafeModulo(src_copy_extent.height, block_size.height) != 0) && in ValidateImageCopyData()
2280 …if ((SafeModulo(copy_depth, block_size.depth) != 0) && (copy_depth + region.srcOffset.z != mip_ext… in ValidateImageCopyData()
2360 if ((SafeModulo(region.dstOffset.x, block_size.width) != 0) || in ValidateImageCopyData()
2361 (SafeModulo(region.dstOffset.y, block_size.height) != 0) || in ValidateImageCopyData()
2362 (SafeModulo(region.dstOffset.z, block_size.depth) != 0)) { in ValidateImageCopyData()
2372 if ((SafeModulo(dst_copy_extent.width, block_size.width) != 0) && in ValidateImageCopyData()
2384 if ((SafeModulo(dst_copy_extent.height, block_size.height) != 0) && in ValidateImageCopyData()
2397 …if ((SafeModulo(copy_depth, block_size.depth) != 0) && (copy_depth + region.dstOffset.z != mip_ext… in ValidateImageCopyData()
3871 if (SafeModulo(range, format_size) != 0) { in ValidateBufferViewRange()
4043 if (SafeModulo(pCreateInfo->offset, alignmentRequirement) != 0) { in PreCallValidateCreateBufferView()
4066 if (SafeModulo(pCreateInfo->offset, alignmentRequirement) != 0) { in PreCallValidateCreateBufferView()
4705 …if (!FormatIsDepthAndStencil(image_state->createInfo.format) && SafeModulo(pRegions[i].bufferOffse… in ValidateBufferImageCopyData()
4714 if (SafeModulo(pRegions[i].bufferOffset, 4) != 0) { in ValidateBufferImageCopyData()
4797 if (SafeModulo(pRegions[i].bufferRowLength, block_size.width) != 0) { in ValidateBufferImageCopyData()
4806 if (SafeModulo(pRegions[i].bufferImageHeight, block_size.height) != 0) { in ValidateBufferImageCopyData()
4815 if ((SafeModulo(pRegions[i].imageOffset.x, block_size.width) != 0) || in ValidateBufferImageCopyData()
4816 (SafeModulo(pRegions[i].imageOffset.y, block_size.height) != 0) || in ValidateBufferImageCopyData()
4817 (SafeModulo(pRegions[i].imageOffset.z, block_size.depth) != 0)) { in ValidateBufferImageCopyData()
4828 if (SafeModulo(pRegions[i].bufferOffset, block_size_in_bytes) != 0) { in ValidateBufferImageCopyData()
4838 if ((SafeModulo(pRegions[i].imageExtent.width, block_size.width) != 0) && in ValidateBufferImageCopyData()
4849 if ((SafeModulo(pRegions[i].imageExtent.height, block_size.height) != 0) && in ValidateBufferImageCopyData()
4860 if ((SafeModulo(pRegions[i].imageExtent.depth, block_size.depth) != 0) && in ValidateBufferImageCopyData()