Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no SPIRVCapability class #15

Open
androidCoder1573 opened this issue Dec 23, 2022 · 5 comments
Open

no SPIRVCapability class #15

androidCoder1573 opened this issue Dec 23, 2022 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@androidCoder1573
Copy link

i download this source code, but can't run it, some classes can't find:

SPIRVCapability
SPIRVOpLabel
SPIRVOpFunction;
SPIRVOpFunctionEnd;
SPIRVOpFunctionParameter;

@jjfumero
Copy link
Member

Can you be more specific? What is the issue? You can get the Capability using the SPIRVCapability factory methods:

Example:

spirvModule.add(new SPIRVOpCapability(SPIRVCapability.Addresses()));   

@androidCoder1573
Copy link
Author

i can‘t find the SPIRVCapability class in source code
image

@jjfumero
Copy link
Member

Many classes are generated from the Standard JSON file from Khronos. Did you build the project first?

https://github.com/beehive-lab/spirv-beehive-toolkit#how-to-build

@androidCoder1573
Copy link
Author

ok, i try to biuld

@jjfumero
Copy link
Member

@androidCoder1573 , did we solve your question?

@jjfumero jjfumero self-assigned this Mar 22, 2024
@jjfumero jjfumero added the question Further information is requested label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants