Searched refs:device_limits (Results 1 – 5 of 5) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | parameter_validation_utils.cpp | 131 …memcpy(&stateless_validation->device_limits, &device_properties.limits, sizeof(VkPhysicalDeviceLim… in PostCallRecordCreateDevice() 648 const auto max_w = device_limits.maxViewportDimensions[0]; in manual_PreCallValidateViewport() 670 const auto max_h = device_limits.maxViewportDimensions[1]; in manual_PreCallValidateViewport() 695 if (!(viewport.x >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport() 699 … parameter_name.get_name().c_str(), viewport.x, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport() 705 if (!(right_bound <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport() 710 right_bound, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport() 716 if (!(viewport.y >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport() 720 … parameter_name.get_name().c_str(), viewport.y, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport() 721 } else if (negative_height_enabled && !(viewport.y <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport() [all …]
|
D | stateless_validation.h | 94 VkPhysicalDeviceLimits device_limits = {}; 834 uint32_t max_color_attachments = device_limits.maxColorAttachments; in CreateRenderPassGeneric()
|
D | buffer_validation.cpp | 1387 const VkPhysicalDeviceLimits *device_limits = &(GetPDProperties()->limits); in PreCallValidateCreateImage() local 1390 …if ((pCreateInfo->usage & attach_flags) && (pCreateInfo->extent.width > device_limits->maxFramebuf… in PreCallValidateCreateImage() 1397 …if ((pCreateInfo->usage & attach_flags) && (pCreateInfo->extent.height > device_limits->maxFramebu… in PreCallValidateCreateImage() 3796 … const VkBufferViewCreateInfo *pCreateInfo, const VkPhysicalDeviceLimits *device_limits) { in ValidateBufferViewRange() argument 3820 if (range / format_size > device_limits->maxTexelBufferElements) { in ValidateBufferViewRange() 3827 range, format_size, device_limits->maxTexelBufferElements); in ValidateBufferViewRange() 3963 const VkPhysicalDeviceLimits *device_limits = &(GetPDProperties()->limits); in PreCallValidateCreateBufferView() local 3965 if ((pCreateInfo->offset % device_limits->minTexelBufferOffsetAlignment) != 0) { in PreCallValidateCreateBufferView() 3970 pCreateInfo->offset, device_limits->minTexelBufferOffsetAlignment); in PreCallValidateCreateBufferView() 3973 skip |= ValidateBufferViewRange(device_data, buffer_state, pCreateInfo, device_limits); in PreCallValidateCreateBufferView()
|
D | core_validation.h | 699 … const VkBufferViewCreateInfo* pCreateInfo, const VkPhysicalDeviceLimits* device_limits);
|
D | core_validation.cpp | 5081 const VkPhysicalDeviceLimits *device_limits = &(GetPDProperties()->limits); in ValidatePipelineVertexDivisors() local 5090 if (vibdd->binding >= device_limits->maxVertexInputBindings) { in ValidatePipelineVertexDivisors() 5096 i, j, vibdd->binding, device_limits->maxVertexInputBindings); in ValidatePipelineVertexDivisors()
|