Skip to content

cheery/spirthon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24d90c9 · Apr 25, 2017

History

17 Commits
Apr 7, 2015
Mar 15, 2015
Mar 22, 2015
Mar 12, 2015
Apr 25, 2017
Mar 17, 2015
Mar 22, 2015
Mar 13, 2015
Mar 13, 2015
Mar 16, 2015
Mar 22, 2015
Mar 21, 2015

Repository files navigation

Python to SPIR-V Compiler

Notice: This library is outdated a lot. I advice you to get familiar with the machine readable specification in the Khronos SPIR-V registry, as well as read the official specification.

Translation from python bytecode to SPIR-V.

This might come out as something, or then not. It would be a shame to not try.

There's something here that could be useful on its own:

  • A SPIR-V decoder/encoder (or assembler/disassembler if you fancy that name) in the spirv.py.
  • Machine readable specification for SPIR-V in json -format that can be used to drive a decoder/encoder. And the script used to generate it.

Status

Made an instruction decoder and encoder that work from the specification I generated from glslang earlier. Now I need to adjust my translator prototype to use SPIR-V instructions.

Development log

Links

About

Python bytecode to SPIR-V -translation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages