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/query.c b/icd/intel/query.c
index 978ffae..b920577 100644
--- a/icd/intel/query.c
+++ b/icd/intel/query.c
@@ -110,7 +110,9 @@
if (!query->slot_stride) {
intel_query_destroy(query);
- return VK_ERROR_INVALID_VALUE;
+ /* TODOVV: Move test to validation layer */
+// return VK_ERROR_INVALID_VALUE;
+ return VK_ERROR_UNKNOWN;
}
VkMemoryAllocInfo mem_reqs;
@@ -240,7 +242,9 @@
*pDataSize = query->slot_stride * queryCount;
break;
default:
- return VK_ERROR_INVALID_HANDLE;
+ /* TODOVV: Move test to validation layer */
+// return VK_ERROR_INVALID_HANDLE;
+ return VK_ERROR_UNKNOWN;
break;
}