Neil Roberts <nrobe...@igalia.com> writes:

> Eventually we could probably get a lot of testing fairly cheaply by
> modifying some of the generated_tests scripts to also generate Vulkan
> tests. It might even be worth semi-automatically converting existing
> GL shader tests using something similar to the script on the
> GL_ARB_gl_spirv branch.

For what it’s worth, I went ahead and made a start on making the
generated tests work with VkRunner. There is a branch for it here:

https://github.com/Igalia/piglit/tree/nroberts/vulkan-generated-tests

It adapts the builtin_function tests to generate SPIR-V directly. It
does all of the stages except compute shaders because I haven’t added
support for images or SSBOs yet so there’s no way to store the results.
With the branch there are now 2537 tests in the tests/vulkan profile.

- Neil

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to