How do shader compilers work?

Does anyone have links to documents and studies specific to the internal workings of shader-compiler / graphics driver compilers?

+3
source share
1 answer

There is not much difference between writing a regular 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

0
source

Source: https://habr.com/ru/post/1739433/


All Articles