Searched refs:SafeModulo (Results 1 – 5 of 5) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 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() [all …]
|
D | vk_format_utils.h | 175 VK_LAYER_EXPORT VkDeviceSize SafeModulo(VkDeviceSize dividend, VkDeviceSize divisor);
|
D | parameter_validation_utils.cpp | 2318 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets() 2333 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets() 3294 … if (vertex_component_size > 0 && SafeModulo(triangles.vertexOffset, vertex_component_size) != 0) { in ValidateGeometryTrianglesNV() 3311 if (index_element_size > 0 && SafeModulo(triangles.indexOffset, index_element_size) != 0) { in ValidateGeometryTrianglesNV() 3327 if (SafeModulo(triangles.transformOffset, 16) != 0) { in ValidateGeometryTrianglesNV() 3339 if (SafeModulo(aabbs.offset, 8) != 0) { in ValidateGeometryAABBNV() 3343 if (SafeModulo(aabbs.stride, 8) != 0) { in ValidateGeometryAABBNV()
|
D | vk_format_utils.cpp | 1208 VK_LAYER_EXPORT VkDeviceSize SafeModulo(VkDeviceSize dividend, VkDeviceSize divisor) { in SafeModulo() function
|
D | core_validation.cpp | 989 if (SafeModulo(attrib_address, vtx_attrib_req_alignment) != 0) { in ValidatePipelineDrawtimeState() 4002 … assert(SafeModulo(mem_info->shadow_pad_size, phys_dev_props.limits.minMemoryMapAlignment) == 0); in InitializeAndTrackMemory() 4016 …assert(SafeModulo(reinterpret_cast<uintptr_t>(mem_info->shadow_copy) + mem_info->shadow_pad_size -… in InitializeAndTrackMemory() 4403 if (SafeModulo(memoryOffset, buffer_state->requirements.alignment) != 0) { in ValidateBindBufferMemory() 6905 …if (SafeModulo(info.memoryOffset, as_state->memory_requirements.memoryRequirements.alignment) != 0… in ValidateBindAccelerationStructureMemoryNV() 7528 if (SafeModulo(pDynamicOffsets[current_idx], alignment) != 0) { in ValidateDynamicOffsetAlignment() 11856 if (SafeModulo(mem_ranges[i].offset, atom_size) != 0) { in ValidateMappedMemoryRangeDeviceLimits() 11866 (SafeModulo(mem_ranges[i].size, atom_size) != 0)) { in ValidateMappedMemoryRangeDeviceLimits() 11958 if (SafeModulo(bindInfo.memoryOffset, image_state->requirements.alignment) != 0) { in ValidateBindImageMemory()
|