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

WIP: Use slices of proper size with PhysicalDeviceMemoryProperties #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GabrielMajeri
Copy link
Contributor

This pull request changes the MemoryProperties struct to return subslices of the right size, instead of returning a big slice with some empty structs at the end and a count of valid structures.

The issue is, I don't know how to change this in the code generator. I've only changed the generated code.

Fixes #10

@c0gent
Copy link
Member

c0gent commented Jun 23, 2018

Ok that's fine. I'll make the changes to the generator as soon as I can (may be a little while).

@c0gent
Copy link
Member

c0gent commented Jun 23, 2018

If you want to fiddle with the generator yourself, feel free to ask me anything you need to know.

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.

2 participants