Update Vulkan CTS readme for 1.0.1
authorPyry Haulos <phaulos@google.com>
Thu, 18 Aug 2016 11:00:13 +0000 (12:00 +0100)
committerPyry Haulos <phaulos@google.com>
Thu, 18 Aug 2016 11:00:13 +0000 (12:00 +0100)
Change-Id: I191ebf2b7937c16d796a47534c7c6f2c27c00973

external/vulkancts/README.md

index eba4864..ba661ba 100644 (file)
@@ -45,9 +45,6 @@ To download sources, run:
 You may need to re-run `fetch_sources.py` to update to the latest glslang and
 spirv-tools revisions occasionally.
 
-NOTE: glslang integration is not yet available on Android due to a toolchain
-bug, so pre-compiled SPIR-V binaries must be used. See instructions below.
-
 With CMake out-of-source builds are always recommended. Create a build directory
 of your choosing, and in that directory generate Makefiles or IDE project
 using cmake.
@@ -99,7 +96,7 @@ Building Mustpass
 
 Current mustpass is checked into repository and can be found at:
 
-       external/vulkancts/mustpass/1.0.0/vk-default.txt
+       external/vulkancts/mustpass/1.0.1/vk-default.txt
 
 Vulkan CTS mustpass can be re-generated by running:
 
@@ -110,7 +107,7 @@ Pre-compiling SPIR-V binaries
 -----------------------------
 
 For distribution, and platforms that don't support GLSL to SPIR-V compilation,
-SPIR-V binaries must be pre-built with following command:
+SPIR-V binaries can be pre-built with following command:
 
        python external/vulkancts/build_spirv_binaries.py
 
@@ -125,7 +122,7 @@ Running CTS
 
 Following command line options MUST be used when running CTS:
 
-       --deqp-caselist-file=<vulkancts>/external/vulkancts/mustpass/1.0.0/vk-default.txt
+       --deqp-caselist-file=<vulkancts>/external/vulkancts/mustpass/1.0.1/vk-default.txt
        --deqp-log-images=disable
        --deqp-log-shader-sources=disable
 
@@ -155,7 +152,7 @@ Test log will be written into TestResults.qpa
 
 ### Android
 
-       adb push <vulkancts>/external/vulkancts/mustpass/1.0.0/vk-default.txt /sdcard/vk-default.txt
+       adb push <vulkancts>/external/vulkancts/mustpass/1.0.1/vk-default.txt /sdcard/vk-default.txt
        adb shell
 
 In device shell:
@@ -218,7 +215,7 @@ if `vk::Platform::describePlatform()` is implemented.
 If the submission package covers multiple products, you can list them by appending
 additional `PRODUCT:` lines to the conformance statement. For example:
 
-       CONFORM_VERSION:         vulkan-cts-1.0.0.2
+       CONFORM_VERSION:         vulkan-cts-1.0.1.0
        PRODUCT:                 Product A
        PRODUCT:                 Product B
        ...
@@ -281,7 +278,7 @@ Submission package can be verified using `external/vulkancts/verify_submission.p
 script. The script takes two arguments: path to extracted submission package
 and path to current mustpass list. For example:
 
-       python external/vulkancts/verify_submission.py VK_10_Khronos_1/ external/vulkancts/mustpass/1.0.0/vk-default.txt
+       python external/vulkancts/verify_submission.py VK_10_Khronos_1/ external/vulkancts/mustpass/1.0.1/vk-default.txt
 
 
 Vulkan platform port
@@ -294,6 +291,11 @@ See `framework/common/tcuPlatform.hpp` and examples in
 `framework/platform/win32/tcuWin32Platform.cpp` and
 `framework/platform/android/tcuAndroidPlatform.cpp`.
 
+If any WSI extensions are supported, platform port must also implement
+methods for creating native display (`vk::Platform::createWsiDisplay`)
+and window handles (`vk::wsi::Display::createWindow`). Otherwise tests
+under `dEQP-VK.wsi` will fail.
+
 
 Null (dummy) driver
 -------------------
@@ -330,14 +332,6 @@ analysis). Cherry is available at
 https://android.googlesource.com/platform/external/cherry. Please follow
 instructions in README to get started.
 
-To enable support for Vulkan tests, dEQP-VK module must be added to list of
-test packages.
-
-In `cherry/testrunner.go`, add following line to `testPackageDescriptors` list
-(line 645 in `NewTestRunner` function):
-
-       {"dEQP-VK", "deqp-vk", "../external/vulkancts/modules/vulkan", dataDir + "dEQP-VK-cases.xml"},
-
 Before first launch, and every time test hierarchy has been modified, test
 case list must be refreshed by running: