I pushed support for that that works for me with Vulkan runner. d3d12 runner on Linux crashes, while crosstest works fine on Windows. I'll look into it.
Please take a look if this seems fine in general.
The patches look mostly good now, thanks.
d3d12 tests are probably failing because you're still creating a texture rather than a buffer. Incidentally, the same is true of d3d11.