Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 260
Anne Quinn Avatar asked Sep 27 '19 11:09

Anne Quinn


1 Answers

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

like image 63
HolyBlackCat Avatar answered Nov 20 '22 05:11

HolyBlackCat