Original Post
Anybody know of a good debugger that can work with Vertex/Fragment Programs? Its really hard to find where the Error is in those programs without debugging and going through it step by step.
cgSetErrorCallback(cgErrorCallback);// Create CG context and profiles, load programs and so on...void cgErrorCallback(){ // Get error strings CGerror Error = cgGetError(); const char* errorString = cgGetErrorString(Error); // Print error strings printf("\n%s\n", errorString); printf("Compiler output: %s", cgGetLastListing(cgContext)); // Terminate program exit(0);}This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more