EmbarkStudios / spirt

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

print: hide spurious `OpTypePointer`s, and ensure `README.md` pretty-printed SPIR-T is up to date in CI. #34

Closed eddyb closed 1 year ago

eddyb commented 1 year ago

Originally found while working on #33, and also used to contain #37 before splitting that off.

The pretty-printing fix here (not showing OpTypePointer that are used internally in GlobalVarDecl/PtrToGlobalVar but never actually meant to be printed) is relatively small, the main change is the new CI check, which should ensure we don't forget to update README.md.