Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Any GLSL lint and/or styleguides available?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 madeso   Members   

588
Like
0Likes
Like

Posted 16 September 2013 - 01:25 PM

Python has pep8, C++ has google c++ styleguide, cpplint.py, cppcheck among others, for C# there is stylecop and more. I googled and searched but I haven't been able to find anything relevant for GLSL.

 

So as the title says, is there a styleguide and/or a lint tool or anything that helps me write better GLSL code?



#2 TheChubu   Members   

9323
Like
1Likes
Like

Posted 16 September 2013 - 03:22 PM

I guess that if there was one, it would be listed here: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis

 

EDIT: Its bound to appear someday though, shader programs have become much more complex over the years.


Edited by TheChubu, 16 September 2013 - 03:23 PM.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.