• Home
  • Raw
  • Download

Lines Matching refs:device_limits

146 …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()
752 … parameter_name.get_name().c_str(), viewport.y, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport()
759 if (!(boundary <= device_limits.viewportBoundsRange[1])) { in manual_PreCallValidateViewport()
763 viewport.height, boundary, device_limits.viewportBoundsRange[1]); in manual_PreCallValidateViewport()
764 } else if (negative_height_enabled && !(boundary >= device_limits.viewportBoundsRange[0])) { in manual_PreCallValidateViewport()
769 boundary, device_limits.viewportBoundsRange[0]); in manual_PreCallValidateViewport()
833 !(order->sampleCount & device_limits.framebufferNoAttachmentsSampleCounts)) { in ValidateCoarseSampleOrderCustomNV()
1066 … if (vertex_input_state->vertexBindingDescriptionCount > device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
1072 … i, vertex_input_state->vertexBindingDescriptionCount, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
1075 …if (vertex_input_state->vertexAttributeDescriptionCount > device_limits.maxVertexInputAttributes) { in manual_PreCallValidateCreateGraphicsPipelines()
1081 … i, vertex_input_state->vertexAttributeDescriptionCount, device_limits.maxVertexInputAttributes); in manual_PreCallValidateCreateGraphicsPipelines()
1098 if (vertex_bind_desc.binding >= device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
1104 … i, d, vertex_bind_desc.binding, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
1107 if (vertex_bind_desc.stride > device_limits.maxVertexInputBindingStride) { in manual_PreCallValidateCreateGraphicsPipelines()
1113 … i, d, vertex_bind_desc.stride, device_limits.maxVertexInputBindingStride); in manual_PreCallValidateCreateGraphicsPipelines()
1142 if (vertex_attrib_desc.location >= device_limits.maxVertexInputAttributes) { in manual_PreCallValidateCreateGraphicsPipelines()
1148 … i, d, vertex_attrib_desc.location, device_limits.maxVertexInputAttributes); in manual_PreCallValidateCreateGraphicsPipelines()
1151 if (vertex_attrib_desc.binding >= device_limits.maxVertexInputBindings) { in manual_PreCallValidateCreateGraphicsPipelines()
1157 … i, d, vertex_attrib_desc.binding, device_limits.maxVertexInputBindings); in manual_PreCallValidateCreateGraphicsPipelines()
1160 if (vertex_attrib_desc.offset > device_limits.maxVertexInputAttributeOffset) { in manual_PreCallValidateCreateGraphicsPipelines()
1166 … i, d, vertex_attrib_desc.offset, device_limits.maxVertexInputAttributeOffset); in manual_PreCallValidateCreateGraphicsPipelines()
1217 … pCreateInfos[i].pTessellationState->patchControlPoints > device_limits.maxTessellationPatchSize) { in manual_PreCallValidateCreateGraphicsPipelines()
1224 device_limits.maxTessellationPatchSize); in manual_PreCallValidateCreateGraphicsPipelines()
1332 } else if (viewport_state.viewportCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1338 … i, viewport_state.viewportCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1346 } else if (viewport_state.scissorCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1352 … i, viewport_state.scissorCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1356 …e_scissor_struct && exclusive_scissor_struct->exclusiveScissorCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1362 … i, exclusive_scissor_struct->exclusiveScissorCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1365 …ading_rate_image_struct && shading_rate_image_struct->viewportCount > device_limits.maxViewports) { in manual_PreCallValidateCreateGraphicsPipelines()
1372 … i, shading_rate_image_struct->viewportCount, device_limits.maxViewports); in manual_PreCallValidateCreateGraphicsPipelines()
1703 … (!line_features || !line_features->stippledSmoothLines || !device_limits.strictLines)) { in manual_PreCallValidateCreateGraphicsPipelines()
2049 const auto &limits = device_limits; in manual_PreCallValidateCreateSampler()
2315 VkDeviceSize uniformAlignment = device_limits.minUniformBufferOffsetAlignment; in manual_PreCallValidateUpdateDescriptorSets()
2330 VkDeviceSize storageAlignment = device_limits.minStorageBufferOffsetAlignment; in manual_PreCallValidateUpdateDescriptorSets()
2465 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewport()
2470 firstViewport, viewportCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewport()
2506 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetScissor()
2511 firstScissor, scissorCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetScissor()
2903 if (groupCountX > device_limits.maxComputeWorkGroupCount[0]) { in manual_PreCallValidateCmdDispatch()
2908 groupCountX, device_limits.maxComputeWorkGroupCount[0]); in manual_PreCallValidateCmdDispatch()
2911 if (groupCountY > device_limits.maxComputeWorkGroupCount[1]) { in manual_PreCallValidateCmdDispatch()
2916 groupCountY, device_limits.maxComputeWorkGroupCount[1]); in manual_PreCallValidateCmdDispatch()
2919 if (groupCountZ > device_limits.maxComputeWorkGroupCount[2]) { in manual_PreCallValidateCmdDispatch()
2924 groupCountZ, device_limits.maxComputeWorkGroupCount[2]); in manual_PreCallValidateCmdDispatch()
2948 uint32_t limit = device_limits.maxComputeWorkGroupCount[0]; in manual_PreCallValidateCmdDispatchBaseKHR()
2963 limit = device_limits.maxComputeWorkGroupCount[1]; in manual_PreCallValidateCmdDispatchBaseKHR()
2978 limit = device_limits.maxComputeWorkGroupCount[2]; in manual_PreCallValidateCmdDispatchBaseKHR()
3021 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetExclusiveScissorNV()
3026 … firstExclusiveScissor, exclusiveScissorCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetExclusiveScissorNV()
3030 if (firstExclusiveScissor >= device_limits.maxViewports) { in manual_PreCallValidateCmdSetExclusiveScissorNV()
3035 firstExclusiveScissor, device_limits.maxViewports); in manual_PreCallValidateCmdSetExclusiveScissorNV()
3103 if (firstViewport >= device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
3108 firstViewport, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
3112 if (sum > device_limits.maxViewports) { in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()
3117 firstViewport, viewportCount, sum, device_limits.maxViewports); in manual_PreCallValidateCmdSetViewportShadingRatePaletteNV()