Closed jaebaek closed 6 years ago
First of all, I want to add as many examples as possible to test VkRunner itself and find bugs of VkRunner.
This example uses VK_KHR_storage_buffer_storage_class
and VK_KHR_variable_pointers
. I want to check some GPUs correctly support them.
The SPIR-V code is generated by OpenCL C compiler i.e., clspv and we also want to test it. I have a plan to add more examples with SPIR-V code based on OpenCL C.
My plan for the examples directory was more along the lines of adding examples to help people write their own tests. So it is more intended as additional documentation rather than being actual useful tests. If we want to start adding tests that aren’t just documentation, maybe we could make a separate directory for them. In that case VkRunner would end up going down the lines of becoming a fully-fledged test suite rather than just a utility for test suites to use. I guess I’m undecided whether that makes sense in the long run. I was sort of hoping VkRunner would be integrated into CTS or Piglit rather than being its own test suite.
I have been adding some tests to a branch called tests. Perhaps if we make a separate directory for actual tests we could also put those there. On the other hand I would consider this only a temporary solution until we make a decision about where is the best place to have tests using VkRunner.
This example uses
VK_KHR_storage_buffer_storage_class
andVK_KHR_variable_pointers
. I want to check some GPUs correctly support them.The SPIR-V code is generated by OpenCL C compiler i.e., clspv and we also want to test it. I have a plan to add more examples with SPIR-V code based on OpenCL C.
Seeing as VkRunner probably doesn’t do anything specific to handle code from clspv or enable those two extensions, it seems unlikely that this test would uncover bugs in VkRunner itself. They seem more like tests for the Vulkan implementation.
Ok. I will keep this example in my personal repo. Let me close this pull request.
This example tests a compute shader written in SPIR-V code which is compiled by clspv.