EmbarkStudios / spirt

SPIR-🇹: shader-focused IR to target, transform and translate from 🦀
Apache License 2.0
102 stars 9 forks source link

Introduce scalars (bool/int/float) as "native" SPIR-T types, consts and runtime ops. #50

Open eddyb opened 1 year ago

eddyb commented 1 year ago

This is the first big step towards:


This is what the README.md example looks like now:

TODO: changelog (don't forget to mention the new switch! or should that be its own PR?), better docs, set up constant-folding (maybe even some OpSpecConstantOp support?).