We've had requests from some ISVs to enable a way to hook new passes for validation and optimization without having to fork the codebase or add patches to the main codebase. Having a way to do this would allow some ISVs to more frequently update their versions of spirv-tools, by not requiring patch modifications, and instead making it more "plug'n'play". This is not a small effort, but recording it here to track its viability, and to focus discussion.
We've had requests from some ISVs to enable a way to hook new passes for validation and optimization without having to fork the codebase or add patches to the main codebase. Having a way to do this would allow some ISVs to more frequently update their versions of spirv-tools, by not requiring patch modifications, and instead making it more "plug'n'play". This is not a small effort, but recording it here to track its viability, and to focus discussion.