pygfx / pyshader

Write modern GPU shaders in Python!
BSD 2-Clause "Simplified" License
73 stars 1 forks source link

Trace debug info so we can produce more useful error messages. #23

Closed almarklein closed 4 years ago

almarklein commented 4 years ago

Would be especially nice to show the Python source line when unable to convert it to spirv.

almarklein commented 4 years ago

Also, some of the debug messages relate to the problem from the p.o.v. of the compiler, but these messages are probably useless to end-users.