Draft of test spec for Command Buffers.
authorPiotr Łebski <p.lebski@samsung.com>
Tue, 10 Nov 2015 17:33:15 +0000 (18:33 +0100)
committerPiotr Łebski <p.lebski@samsung.com>
Mon, 21 Dec 2015 09:10:58 +0000 (10:10 +0100)
commit7a598c95f3ecf8a209e733b704c51ea87db12c53
tree47114372e6fa372e62cec0a7f9fae9c3e64a5ecf
parented4815d8ed2992c78a19e41910fd8ccd0f6bb432
Draft of test spec for Command Buffers.

Fixed two typos pointed out in the merge request review.

Minor updates and fixes for Command Buffers test spec:
1. Split that one big table into several smaller ones, corresponding to chapters in Vulkan's spec.
2. Added placeholders for missing testspecs - allowed commands and render pass

Fixed colum width in Command Buffer testspec

First part of Render Pass test spec.

1. Replaced repeating parts of lengthy descriptions fir ellipses for the sake of clarity.
2. Added three more test case descriptions.

Added the remaining validity tests for structures used while creating render passes.

Added testcases for Render Pass destruction. This concludes the test spec for Render Pass.

Framebuffer testcases covered.

Fixed an error with numbering testcases for Framebuffers

Fixed command buffer test spec according to Alon's pointers.
1. Removed A LOT of testcases that would result in undefined behaviour.
2. Added a number of testcases to better cover possible uses of the command buffer API
3. Cleaned up the section of the document related to command buffers

added first command buffer test, fix to nexus compilation

added test for secondary commnad buffers execution - currently crashing

1. Command Buffer lifetime tests
- explicit reset
- implicit reset
- bulk reset

2. Pulled the timeout variable out and made it a global (did not modify code in first two test cases)

Updated the test spec according to API v170.2

Fixed style errors in test cases related to resetting command buffers.

order of execution test - first

1. Added CK_CHECK whenever possible
2. Minor formatting fixes
3. Removed several redundance vk:: uses
4. Switched from using wrapper methods to direct calls to DeviceInterface's methods when more than one buffer and event are needed.
12 files changed:
doc/testspecs/VK/apitests.adoc
external/vulkancts/build_spirv_binaries.py
external/vulkancts/modules/vulkan/api/BufferComputeInstance.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/BufferComputeInstance.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/CMakeLists.txt
external/vulkancts/modules/vulkan/api/ComputeInstanceResultBuffer.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/ComputeInstanceResultBuffer.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/vktApiCommandBuffersTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/vktApiCommandBuffersTests.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/vktApiTests.cpp
framework/platform/android/tcuAndroidPlatform.cpp
targets/android/android.cmake