Skip to content

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

Draft
eddyb wants to merge 5 commits intoeddyb/vk-layerfrom
eddyb/scalar
Draft

Introduce scalars (bool/int/float) as "native" SPIR-T types, consts and runtime ops.#42
eddyb wants to merge 5 commits intoeddyb/vk-layerfrom
eddyb/scalar

Conversation

@eddyb
Copy link
Copy Markdown
Member

@eddyb eddyb commented Apr 23, 2026

Note: this PR is a draft to avoid accidental merging onto its "base" branch (used as a form of ad-hoc PR stacking), and will remain as such, until its "base" branch can be set to main, i.e. all prerequisite PRs will have landed, up to and including this PR (whose branch is the "base" of this one):


Originally submitted as (description mostly copied from there):


This is the first big step towards:


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

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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant