Skip to content

Fix minor command-buffer extension typo#780

Merged
bashbaug merged 1 commit intoKhronosGroup:mainfrom
EwanC:ewan/command-buffer-typo
Apr 21, 2022
Merged

Fix minor command-buffer extension typo#780
bashbaug merged 1 commit intoKhronosGroup:mainfrom
EwanC:ewan/command-buffer-typo

Conversation

@EwanC
Copy link
Copy Markdown
Contributor

@EwanC EwanC commented Apr 21, 2022

The cl_command_buffer_khr return type of clCreateCommandBufferKHR is missing the _khr suffix in its definition.

The return type of `clCreateCommandBufferKHR` is
missing the `_khr` suffix in its definition.
Copy link
Copy Markdown
Contributor

@kpet kpet left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

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

Nice catch, thank you for fixing this.

Seems like this is another reason we should move to using generated snippets from the XML file in these specifications!

@bashbaug bashbaug merged commit 67275aa into KhronosGroup:main Apr 21, 2022
@kpet
Copy link
Copy Markdown
Contributor

kpet commented Apr 21, 2022

Not sure people are aware of this but since I landed 1606dc8, it's actually very easy to do and snippets are already generated by default and you could have fixed the prototype by replacing the code with:

include::{generated}/api/protos/clCreateCommandBufferKHR.txt[]

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.

3 participants