Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

llvm-spirv does not output optional literals in OpExecutionMode #199

Open
ex-rzr opened this issue Dec 14, 2016 · 1 comment
Open

llvm-spirv does not output optional literals in OpExecutionMode #199

ex-rzr opened this issue Dec 14, 2016 · 1 comment

Comments

@ex-rzr
Copy link

ex-rzr commented Dec 14, 2016

When Execution Mode is SubgroupsPerWorkgroup (36) it outputs
4 ExecutionMode 4 36
It should output: 4 ExecutionMode 4 36 <integer literal>.
I haven't try all other Execution Modes, but it works correctly for LocalSize, LocalSizeHint, VecTypeHint.

(spirv-dis from SPIRV-Tools shows “OpExecutionMode %4 SubgroupsPerWorkgroup 12” as expected)

@AlexeySotkin
Copy link
Contributor

Possibly will be fixed in the new repo by switching to SPIRV-Tools format

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants