The Cg Tutorial - Appendix E. Cg Standard Library Functions
https://developer.download.nvidia.com/CgTutorial/cg_tutorial_appendix_e.html
The intent of the debug function is to allow a program to be compiled twice—once with the DEBUG option and once without. By executing both programs, it is possible to obtain one frame buffer containing the final output of the program and another frame buffer containing an intermediate value to be examined for debugging purposes.
The intent of the debug function is to allow a program to be compiled twice—once with the DEBUG option and once without. By executing both programs, it is possible to obtain one frame buffer containing the final output of the program and another frame buffer containing an intermediate value to be examined for debugging purposes.
DA: 87 PA: 28 MOZ Rank: 34