Anne Quinn
Anne Quinn

Reputation: 13040

Opengl debugging, how to see results of vertex shader

Is there a way to see the final position (and other attributes) of a vertex after the vertex shader has processed it, without relying on further rendering? Being able to see the input -> output of my vertex shader stage alone by itself would be a huge boon to help with debugging.

I use Visual Studio 2015, if it has such a debugging utility available (I also use Nsight, but cannot find anything along these lines there)

Upvotes: 6

Views: 802

Answers (1)

HolyBlackCat
HolyBlackCat

Reputation: 96934

Renderdoc has such feature.

'Pipeline State' -> 'Vertex Input' -> 'Mesh View' opens a window that lists vertex shader inputs and outputs:

pic

(Screenshot is from Renderdoc manual.)

Upvotes: 7

Related Questions