Home
last modified time | relevance | path

Searched refs:device_limits (Results 1 – 6 of 6) sorted by relevance

/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp146 …memcpy(&stateless_validation->device_limits, &device_properties.limits, sizeof(VkPhysicalDeviceLim… in PostCallRecordCreateDevice()
675 const auto max_w = device_limits.maxViewportDimensions[0]; in manual_PreCallValidateViewport()
697 const auto max_h = device_limits.maxViewportDimensions[1]; in manual_PreCallValidateViewport()
722 if (!(viewport.x >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport()
726 … parameter_name.get_name().c_str(), viewport.x, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport()
732 if (!(right_bound <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport()
737 right_bound, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport()
743 if (!(viewport.y >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport()
747 … parameter_name.get_name().c_str(), viewport.y, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport()
748 } else if (negative_height_enabled && !(viewport.y <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport()
[all …]
Dbuffer_validation.cpp1361 const VkPhysicalDeviceLimits *device_limits = &phys_dev_props.limits; in PreCallValidateCreateImage() local
1364 …if ((pCreateInfo->usage & attach_flags) && (pCreateInfo->extent.width > device_limits->maxFramebuf… in PreCallValidateCreateImage()
1371 …if ((pCreateInfo->usage & attach_flags) && (pCreateInfo->extent.height > device_limits->maxFramebu… in PreCallValidateCreateImage()
1380 (uint32_t)ceil((float)device_limits->maxFramebufferWidth / in PreCallValidateCreateImage()
1389 pCreateInfo->extent.width, device_limits->maxFramebufferWidth, in PreCallValidateCreateImage()
1394 (uint32_t)ceil((float)device_limits->maxFramebufferHeight / in PreCallValidateCreateImage()
1403 pCreateInfo->extent.height, device_limits->maxFramebufferHeight, in PreCallValidateCreateImage()
3856 const VkPhysicalDeviceLimits *device_limits) { in ValidateBufferViewRange() argument
3880 if (SafeDivision(range, format_size) > device_limits->maxTexelBufferElements) { in ValidateBufferViewRange()
3886 range, format_size, device_limits->maxTexelBufferElements); in ValidateBufferViewRange()
[all …]
Dstateless_validation.h92 VkPhysicalDeviceLimits device_limits = {};
890 uint32_t max_color_attachments = device_limits.maxColorAttachments; in CreateRenderPassGeneric()
Dcore_validation.h1308 const VkPhysicalDeviceLimits* device_limits);
Dcore_validation.cpp5019 const VkPhysicalDeviceLimits *device_limits = &phys_dev_props.limits; in ValidatePipelineVertexDivisors() local
5028 if (vibdd->binding >= device_limits->maxVertexInputBindings) { in ValidatePipelineVertexDivisors()
5034 i, j, vibdd->binding, device_limits->maxVertexInputBindings); in ValidatePipelineVertexDivisors()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py1065 device_limits = []
1068 device_limits.append(virt_dev.memory_limit)
1073 if priority and len(device_limits) != len(priority):
1078 memory_limit_mb=device_limits, priority=priority))