Comments (3)
It's definitely not as easy as it could be...feels like it should be in a comment block at the very top of the file.
If you search for "VK_HEADER_VERSION" you'll see a bunch #defines with the version numbers. Looks like 1.3.242 is the current version at https://github.com/KhronosGroup/Vulkan-Docs/tree/main/xml
Update to exceptions.json for that value coming momentarily
from vk-gen.
What version of vk.xml are you using? Latest version I've generated against is 1.3.240
I think this is a new symbol in a later patch version that has to be added to exceptions.json; reference the object at path "external.uint32_t.enums"
vk.xml defines a lot of things with C syntax. Instead of trying to parse and translate that at runtime, I just added them to exceptions.json with corrected Go syntax for the value.
from vk-gen.
What version of vk.xml are you using?
It's extremely hard to figure out from the file itself
I just grabbed it today using curl like you do in the docs, so I suppose it's 1.3.242?
from vk-gen.
Related Issues (18)
- "Code generated by go-vk from vk.xml" showing on pkg.go.dev HOT 1
- !ignore appearing in generated code HOT 1
- "!" in exceptions.json syntax is confusing HOT 2
- Union DescriptorDataEXT treating singular pointer as slice
- CmdSetSampleMaskEXT is not passing address of sampleMask[0] to trampoline
- Old comments/code cleanup
- Duplicate struct members when generating on darwin HOT 1
- Binding allocated return vals need to be Vulkanized before trampoline
- "No platform type for !comment" warning at runtime
- Sort extension constants in output HOT 1
- MacOS support progress/discussion HOT 6
- Add support for video encoding HOT 5
- Crash when union in exceptions.json not previously defined
- Go-like handling of Result as an error HOT 1
- GetPipelinePropertiesEXT generates with compiler error under Vk 1.3
- Mark "code generated by" with tagged release or commit number HOT 1
- Remove lazyCommands map, directly declare all commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vk-gen.