Lines Matching refs:device_limits
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()
725 … parameter_name.get_name().c_str(), viewport.y, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport()
732 if (!(boundary <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport()
736 viewport.height, boundary, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport()
737 } else if (negative_height_enabled && !(boundary >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport()
742 boundary, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport()
806 !(order->sampleCount & device_limits.framebufferNoAttachmentsSampleCounts)) { in ValidateCoarseSampleOrderCustomNV()
913 … if (vertex_input_state->vertexBindingDescriptionCount > device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
919 … i, vertex_input_state->vertexBindingDescriptionCount, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
922 …if (vertex_input_state->vertexAttributeDescriptionCount > device_limits.maxVertexInputAttributes) { in manual_PreCallValidateCreateGraphicsPipelines()
928 … i, vertex_input_state->vertexBindingDescriptionCount, device_limits.maxVertexInputAttributes); in manual_PreCallValidateCreateGraphicsPipelines()
945 if (vertex_bind_desc.binding >= device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
951 … i, d, vertex_bind_desc.binding, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
954 if (vertex_bind_desc.stride > device_limits.maxVertexInputBindingStride) { in manual_PreCallValidateCreateGraphicsPipelines()
960 … i, d, vertex_bind_desc.stride, device_limits.maxVertexInputBindingStride); in manual_PreCallValidateCreateGraphicsPipelines()
989 if (vertex_attrib_desc.location >= device_limits.maxVertexInputAttributes) { in manual_PreCallValidateCreateGraphicsPipelines()
995 … i, d, vertex_attrib_desc.location, device_limits.maxVertexInputAttributes); in manual_PreCallValidateCreateGraphicsPipelines()
998 if (vertex_attrib_desc.binding >= device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
1004 … i, d, vertex_attrib_desc.binding, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
1007 if (vertex_attrib_desc.offset > device_limits.maxVertexInputAttributeOffset) { in manual_PreCallValidateCreateGraphicsPipelines()
1013 … i, d, vertex_attrib_desc.offset, device_limits.maxVertexInputAttributeOffset); in manual_PreCallValidateCreateGraphicsPipelines()
1062 … pCreateInfos[i].pTessellationState->patchControlPoints > device_limits.maxTessellationPatchSize) { in manual_PreCallValidateCreateGraphicsPipelines()
1069 device_limits.maxTessellationPatchSize); in manual_PreCallValidateCreateGraphicsPipelines()
1177 } else if (viewport_state.viewportCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1183 … i, viewport_state.viewportCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1191 } else if (viewport_state.scissorCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1197 … i, viewport_state.scissorCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1201 …e_scissor_struct && exclusive_scissor_struct->exclusiveScissorCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1207 … i, exclusive_scissor_struct->exclusiveScissorCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1210 …ading_rate_image_struct && shading_rate_image_struct->viewportCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1217 … i, shading_rate_image_struct->viewportCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1746 const auto &limits = device_limits; in manual_PreCallValidateCreateSampler()
2012 VkDeviceSize uniformAlignment = device_limits.minUniformBufferOffsetAlignment; in manual_PreCallValidateUpdateDescriptorSets()
2027 VkDeviceSize storageAlignment = device_limits.minStorageBufferOffsetAlignment; in manual_PreCallValidateUpdateDescriptorSets()
2137 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewport()
2142 firstViewport, viewportCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewport()
2178 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetScissor()
2183 firstScissor, scissorCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetScissor()
2561 if (groupCountX > device_limits.maxComputeWorkGroupCount[0]) { in manual_PreCallValidateCmdDispatch()
2566 groupCountX, device_limits.maxComputeWorkGroupCount[0]); in manual_PreCallValidateCmdDispatch()
2569 if (groupCountY > device_limits.maxComputeWorkGroupCount[1]) { in manual_PreCallValidateCmdDispatch()
2574 groupCountY, device_limits.maxComputeWorkGroupCount[1]); in manual_PreCallValidateCmdDispatch()
2577 if (groupCountZ > device_limits.maxComputeWorkGroupCount[2]) { in manual_PreCallValidateCmdDispatch()
2582 groupCountZ, device_limits.maxComputeWorkGroupCount[2]); in manual_PreCallValidateCmdDispatch()
2606 uint32_t limit = device_limits.maxComputeWorkGroupCount[0]; in manual_PreCallValidateCmdDispatchBaseKHR()
2621 limit = device_limits.maxComputeWorkGroupCount[1]; in manual_PreCallValidateCmdDispatchBaseKHR()
2636 limit = device_limits.maxComputeWorkGroupCount[2]; in manual_PreCallValidateCmdDispatchBaseKHR()
2679 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetExclusiveScissorNV()
2684 … firstExclusiveScissor, exclusiveScissorCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetExclusiveScissorNV()
2688 if (firstExclusiveScissor >= device_limits.maxViewports) { in manual_PreCallValidateCmdSetExclusiveScissorNV()
2693 firstExclusiveScissor, device_limits.maxViewports); in manual_PreCallValidateCmdSetExclusiveScissorNV()
2761 if (firstViewport >= device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
2766 firstViewport, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
2770 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
2775 firstViewport, viewportCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()