How to debug glsl shader on linux?
Posted: Sat Nov 26, 2016 11:39 am
This problem has been bugging me since the day i learn linux.
This question has been asked many times on stackoverflow, but i don't see a prefect answer.
The only tool i'm using now is apitrace, i can see all the draw calls and uniform values with apitrace, but that's not enough.
I know you can check variable by chang fragment output color, but it's quite quite inefficient, just like a blind guy groping with a stick.
I want to debug glsl shader line by line, just like nsight in visualstudio.
If there has no such tool on linux, how do you guys live with glsl on linux?
This question has been asked many times on stackoverflow, but i don't see a prefect answer.
The only tool i'm using now is apitrace, i can see all the draw calls and uniform values with apitrace, but that's not enough.
I know you can check variable by chang fragment output color, but it's quite quite inefficient, just like a blind guy groping with a stick.
I want to debug glsl shader line by line, just like nsight in visualstudio.
If there has no such tool on linux, how do you guys live with glsl on linux?