Searched refs:SafeModulo (Results 1 – 5 of 5) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 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() [all …]
|
D | vk_format_utils.h | 174 VK_LAYER_EXPORT VkDeviceSize SafeModulo(VkDeviceSize dividend, VkDeviceSize divisor);
|
D | vk_format_utils.cpp | 1190 VK_LAYER_EXPORT VkDeviceSize SafeModulo(VkDeviceSize dividend, VkDeviceSize divisor) { in SafeModulo() function
|
D | parameter_validation_utils.cpp | 2015 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets() 2030 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets()
|
D | core_validation.cpp | 961 if (SafeModulo(attrib_address, vtx_attrib_req_alignment) != 0) { in ValidatePipelineDrawtimeState() 3856 …assert(SafeModulo(mem_info->shadow_pad_size, dev_data->phys_dev_props.limits.minMemoryMapAlignment… in InitializeAndTrackMemory() 3870 …assert(SafeModulo(reinterpret_cast<uintptr_t>(mem_info->shadow_copy) + mem_info->shadow_pad_size -… in InitializeAndTrackMemory() 4381 if (SafeModulo(memoryOffset, buffer_state->requirements.alignment) != 0) { in ValidateBindBufferMemory() 6946 if (SafeModulo(pDynamicOffsets[current_idx], alignment) != 0) { in ValidateDynamicOffsetAlignment() 10860 if (SafeModulo(mem_ranges[i].offset, atom_size) != 0) { in ValidateMappedMemoryRangeDeviceLimits() 10870 (SafeModulo(mem_ranges[i].size, atom_size) != 0)) { in ValidateMappedMemoryRangeDeviceLimits() 10956 if (SafeModulo(memoryOffset, image_state->requirements.alignment) != 0) { in ValidateBindImageMemory()
|