How do shader compilers work?

瘦欲@ 提交于 2019-12-14 01:26:15

问题


Does anyone have references to documents and research specific on the inner workings of shader compilers/graphics drivers compilers?


回答1:


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



来源:https://stackoverflow.com/questions/2558974/how-do-shader-compilers-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!