shader-playground icon indicating copy to clipboard operation
shader-playground copied to clipboard

Add support for RADV ACO compiler?

Open jpark37 opened this issue 3 years ago • 3 comments

It might be nice to experiment with, and it already compiles as a Vulkan ICD on Windows. It just needs RADV_FORCE_FAMILY to be set, and NIR/ACO output is available as text via VK_KHR_pipeline_executable_properties.

jpark37 avatar Aug 28 '21 08:08 jpark37

I'd also be willing to attempt a pull request, but only if you'd be interested.

jpark37 avatar Oct 05 '21 00:10 jpark37

Hi @jpark37 - thank you for the offer :) Yes, I'd definitely be interested in a PR. You'll find it's fairly complicated to get Shader Playground running locally. We do have a Dockerfile but I'm not sure if it's still working: https://github.com/tgjones/shader-playground/blob/master/BUILDING.md#building-with-the-docker-image

But if you can get past those difficulties, then yes a PR would be appreciated.

tgjones avatar Oct 14 '21 21:10 tgjones

Sounds good. The Vulkan extension operates on whole VkPipeline instances though, so I suspect it might take me some time to figure out how to fill out a dummy pipeline with only one shader stage of SPIR-V.

jpark37 avatar Oct 15 '21 08:10 jpark37