Shaders are usually compiled by the software that runs on your CPU, not on your GPU. Once it’s compiled, the shaders RUN on the GPU.
A GPU really is not designed to do tasks like compiling… maybe theoretically it can be possible, but I haven’t heard of it yet
hope that answers your question