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/common/icd-instance.c b/icd/common/icd-instance.c
index 449ff98..3568b76 100644
--- a/icd/common/icd-instance.c
+++ b/icd/common/icd-instance.c
@@ -123,9 +123,10 @@
{
struct icd_instance_logger *logger;
- if (msg_obj == NULL) {
- return VK_ERROR_INVALID_POINTER;
- }
+ /* TODOVV: Move this test to a validation layer */
+// if (msg_obj == NULL) {
+// return VK_ERROR_INVALID_POINTER;
+// }
logger = icd_instance_alloc(instance, sizeof(*logger), 0,
VK_SYSTEM_ALLOC_TYPE_DEBUG);
@@ -157,8 +158,9 @@
break;
}
- if (!logger)
- return VK_ERROR_INVALID_POINTER;
+ /* TODOVV: Move this to validation layer */
+// if (!logger)
+// return VK_ERROR_INVALID_POINTER;
if (prev)
prev->next = logger->next;