How do shader compilers work?
Does anyone have references to docum开发者_C百科ents and research specific on the inner workings of shader compilers/graphics drivers compilers?
There's no big difference between writing an ordinary C compiler and writing a shader compiler. The standard book on writing compilers is the so called "Dragon Book":
http://www.amazon.com/Compilers-Principles-Techniques-Tools-2nd/dp/0321486811/ref=ntt_at_ep_dpi_1
精彩评论