Skip to content

Address feedback on enum validation #2087

Open
Tobski wants to merge 1 commit into
mainfrom
public/2077-valid-enum-fixes
Open

Address feedback on enum validation #2087
Tobski wants to merge 1 commit into
mainfrom
public/2077-valid-enum-fixes

Conversation

@Tobski

@Tobski Tobski commented Mar 20, 2023

Copy link
Copy Markdown
Contributor

Fixes #2077

CC @krOoze

@Tobski

Tobski commented Mar 20, 2023

Copy link
Copy Markdown
Contributor Author

@oddhack are the CIs failing here also failing on main? I can't see any reason for them to fail just from the commits here 🤔

@ShabbyX

ShabbyX commented Mar 20, 2023

Copy link
Copy Markdown
Contributor

@oddhack are the CIs failing here also failing on main? I can't see any reason for them to fail just from the commits here thinking

I see the same failures on another PR

@oddhack

oddhack commented Mar 20, 2023

Copy link
Copy Markdown
Contributor

@oddhack are the CIs failing here also failing on main? I can't see any reason for them to fail just from the commits here thinking

Yes, there were some changes in Vulkan-Hpp in response to recent XML schema changes that aren't reflected here yet. Hopefully #2088 will fix that although Actions seems to be running terribly slowly at the moment.

@oddhack

oddhack commented Mar 20, 2023

Copy link
Copy Markdown
Contributor

@Tobski if you rebase on main branch it should pass CI now. The Rust bindings are still not working but they're not a blocker.

@oddhack
oddhack requested review from fluppeteer and r-potter March 22, 2023 13:41
type.
Use of an enumerant is valid if the following conditions are true:
An enumerant value is valid for a particular use if the following conditions
are true:

@krOoze krOoze Mar 26, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe "all the following conditions".

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're inconsistent about whether we use "all". I agree it wouldn't hurt!

of Vulkan supported by instance-level functionality, encoded as
described in <<extendingvulkan-coreversions-versionnumbers>>.

If flink:vkGetInstanceProcAddr returns a code:NULL pointer when this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think styleguide uses only ticks for NULL

object as its first parameter and either:
for the current instance.
* If the enumerant is used in a function that has a dispatchable object
created or allocated from a device as its first parameter and either:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. Either "dispatchable object created or allocated from a physical device" or "dispatchable object that is device or its children".

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.

Enumerant validity rules seem incorrect

5 participants