debugger for openGL shaders

Posted on 2012-09-17
Last Modified: 2013-03-08

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?

Question by:LuckyLucks
    LVL 2

    Accepted Solution

    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 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

    Author Comment


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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
    Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now