Ignore VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR

VK_KHR_portability_enumeration defines this instance creation flag, but
this extension is meant for the Vulkan Loader, not ICDs.

https://github.com/KhronosGroup/Vulkan-Loader/issues/992 tracks fixing
this in the Loader itself. In the meantime we can safely ignore this.

Bug: Vulkan Loader bug workaround. See link above.
Change-Id: I99e4e4b81f0129f460cccd9872ac118b41a7dd0d
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/67568
Tested-by: Nicolas Capens <nicolascapens@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@google.com>
diff --git a/src/Vulkan/libVulkan.cpp b/src/Vulkan/libVulkan.cpp
index 5b5b6cd..2a7cd7e 100644
--- a/src/Vulkan/libVulkan.cpp
+++ b/src/Vulkan/libVulkan.cpp
@@ -504,9 +504,10 @@
 
 	initializeLibrary();
 
-	if(pCreateInfo->flags != 0)
+	if(pCreateInfo->flags != 0 &&
+	   pCreateInfo->flags != VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR)  // TODO(https://github.com/KhronosGroup/Vulkan-Loader/issues/992)
 	{
-		// Vulkan 1.2: "flags is reserved for future use." "flags must be 0"
+		// Vulkan 1.3: "flags is reserved for future use." "flags must be 0"
 		UNSUPPORTED("pCreateInfo->flags %d", int(pCreateInfo->flags));
 	}