Claim Vulkan 1.1 conformance
SwiftShader has been confirmed by Khronos as a conformant Vulkan 1.1 product:
https://www.khronos.org/conformance/adopters/conformant-products#submission_400
Bug: b/129792032
Change-Id: I6893a411fbb2b3ba94ec07674bd78ca81b319680
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/36589
Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
diff --git a/README.md b/README.md
index 8be32f2..32975ce 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
Introduction
------------
-SwiftShader is a high-performance CPU-based implementation of the OpenGL ES and Direct3D 9 graphics APIs<sup>1</sup><sup>2</sup>. Its goal is to provide hardware independence for advanced 3D graphics.
+SwiftShader is a high-performance CPU-based implementation of the Vulkan, OpenGL ES, and Direct3D 9 graphics APIs<sup>1</sup><sup>2</sup>. Its goal is to provide hardware independence for advanced 3D graphics.
Building
--------
@@ -109,5 +109,5 @@
----------
1. Trademarks are the property of their respective owners.
-2. We do not claim official conformance with any graphics APIs at this moment.
+2. We do not claim official conformance with the Direct3D and OpenGL graphics APIs at this moment.
3. This is not an official Google product.
diff --git a/src/Vulkan/VkPhysicalDevice.cpp b/src/Vulkan/VkPhysicalDevice.cpp
index 5c110c9..67bb70d 100644
--- a/src/Vulkan/VkPhysicalDevice.cpp
+++ b/src/Vulkan/VkPhysicalDevice.cpp
@@ -367,7 +367,7 @@
properties->driverID = VK_DRIVER_ID_GOOGLE_SWIFTSHADER_KHR;
strcpy(properties->driverName, "SwiftShader driver");
strcpy(properties->driverInfo, "");
- properties->conformanceVersion = {0, 0, 0, 0};
+ properties->conformanceVersion = {1, 1, 3, 3};
}
bool PhysicalDevice::hasFeatures(const VkPhysicalDeviceFeatures& requestedFeatures) const