bug-14538: Remove driver validation checks
Marked validation checks done in the driver with
TODOVV. Once we verify the check is covered in a
validation layer we can remove the driver code.
diff --git a/icd/intel/instance.c b/icd/intel/instance.c
index 5d6e6ba..3deca51 100644
--- a/icd/intel/instance.c
+++ b/icd/intel/instance.c
@@ -239,10 +239,6 @@
{
uint32_t copy_size;
- if (pCount == NULL) {
- return VK_ERROR_INVALID_POINTER;
- }
-
if (pProperties == NULL) {
*pCount = INTEL_GLOBAL_EXT_COUNT;
return VK_SUCCESS;
@@ -262,10 +258,6 @@
uint32_t* pCount,
VkLayerProperties* pProperties)
{
- if (pCount == NULL) {
- return VK_ERROR_INVALID_POINTER;
- }
-
*pCount = 0;
return VK_SUCCESS;
}
@@ -320,7 +312,7 @@
*pPhysicalDeviceCount = count;
- return (count > 0) ? VK_SUCCESS : VK_ERROR_UNAVAILABLE;
+ return (count > 0) ? VK_SUCCESS : VK_ERROR_UNKNOWN;
}
ICD_EXPORT VkResult VKAPI vkDbgCreateMsgCallback(