If you create a custom Renderer Feature, you can use the FilterAttribute API to remove shaderA program that runs on the GPU. More info
See in Glossary variants when you enable or disable settings in the URP Asset.
For example, you can do the following: