Aeva / m.grl

Midnight Graphics & Recreation Library
http://mgrl.midnightsisters.org
GNU Lesser General Public License v3.0
44 stars 3 forks source link

cleanup rough parts of glsl->glsl compiler #261

Open Aeva opened 7 years ago

Aeva commented 7 years ago

The print_program method is an example of a quick hack that has snowballed into something truly horrible. Every time I modify it to fix something, it usually causes problems somewhere else, and it is hard to debug. Debugging a fix for #260 made me lose all patience for it, and so I rewrote it from scratch.

There are some tasks that still need to be done before it should be merged though: