A hardware-aware debugger for the OpenGL shading language

  • Authors:
  • Magnus Strengert;Thomas Klein;Thomas Ertl

  • Affiliations:
  • Universität Stuttgart;Universität Stuttgart;Universität Stuttgart

  • Venue:
  • Proceedings of the 22nd ACM SIGGRAPH/EUROGRAPHICS symposium on Graphics hardware
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The enormous flexibility of the modern GPU rendering pipeline as well as the availability of high-level shader languages have led to an increased demand for sophisticated programming tools. As the application domain for GPU-based algorithms extends beyond traditional computer graphics, shader programs become more and more complex. The turn-around time for debugging, profiling, and optimizing GPU-based algorithms is now a critical factor in application development which is not addressed adequately by the tools available. In this paper we present a generic, minimal intrusive, and application-transparent solution for debugging OpenGL Shading Language programs, which for the first time fully supports GLSL 1.2 vertex and fragment shaders plus the recent geometry shader extension. By transparently instrumenting the shader program we retrieve information directly from the hardware pipeline and provide data for visual debugging and program analysis.