Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

debugger for openGL shaders

hi

what's the best the best debugger for debugging opengl shaders if one was planning to use it with Visual Studio 2008 on Windows 7?

thanks
0
LuckyLucks
Asked:
LuckyLucks
1 Solution
 
ddurgaprasadCommented:
Hi ,
       Usually you won't get debugger for shaders, because it addresses directly GPU registers, if you have gpu debugger, then you will see the register values.
      Deubggers are available for people working on specific GPU hardware[I don't think they will be available for end programmers using laptops/desktops].Debugger may vary from GPU to GPU versions..with that we are able to see GPU instruction set also..you may check nvidia website for specific GPU hardware debugger for shader compiler, internally they have to find out algorithm performance..but i don't think they will share outside.. now a days for opengl library they are providing debugger, that also you need to check nvidia website whether they provided debugger version of opengl for specific GPU or not.

You may not want to debug the shader ! shader program has all arithmetic operations like matrix/vector.. unless you want to test the GPU :-)
debugging the shader is nothing but debugging[seeing] the GPU registers..

see some opengl APIs to get/read the shader variables to main program..

opengl compiler/debugger is one set
shader compiler/debugger is another set
0
 
LuckyLucksAuthor Commented:
hi

do you have an example of how to do this:
see some opengl APIs to get/read the shader variables to main program..
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now