pygfx / pyshader

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

Make bytecode work on all platforms #12

Closed almarklein closed 4 years ago

almarklein commented 4 years ago

Until we decide on the spelling for IO (#11), we're in a bit of a mess. I started working on an alternative spelling, but then doubted that direction and commented stuff. Anyway, shaders should now work on all Python versions.

Korijn commented 4 years ago

Will try this out tomorrow morning. Looks good!

almarklein commented 4 years ago

Could you have a look at the test_py.py? I think this would be a nice way to check consistency, but could use a 2nd opinion :) Ready for merge when you're happy :)

Korijn commented 4 years ago

I think it's definitely smart to keep an eye on unexpected changes and using the vulkan-sdk as a reference implementation is also great. So yeah, I think this is a good approach.