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

Expose Vulkan internal values for access from extensions #52203

Merged

Conversation

BastiaanOlij
Copy link
Contributor

This PR exposes a few internal values in Vulkan that are needed in various extensions and can't be accessed.

@reduz I'm not happy about the solution so I'm up for suggestions on how to improve this. It's Vulkan only data that is supposed to stay internal and not exposed to GDScript nor exposed on the RenderingDevice base class. But we have no mechanism in place right now to only expose this data when Vulkan is used and then only to extensions.

@vnen I noticed that RenderingDevice::get_singleton() isn't available in extensions, is this just a matter of binding that method or is there another mechanism by which to do this?

@BastiaanOlij BastiaanOlij added this to the 4.0 milestone Aug 29, 2021
@BastiaanOlij BastiaanOlij self-assigned this Aug 29, 2021
@BastiaanOlij BastiaanOlij requested review from a team as code owners August 29, 2021 03:03
@BastiaanOlij BastiaanOlij requested review from reduz and vnen August 29, 2021 03:03
@BastiaanOlij BastiaanOlij force-pushed the expose_vulkan_info_to_extensions branch 6 times, most recently from fd33b17 to c504e31 Compare September 9, 2021 11:13
@BastiaanOlij BastiaanOlij force-pushed the expose_vulkan_info_to_extensions branch from c504e31 to 506ae80 Compare September 9, 2021 12:28
@BastiaanOlij BastiaanOlij requested a review from a team as a code owner September 9, 2021 12:28
@reduz reduz merged commit 3174e27 into godotengine:master Sep 9, 2021
@BastiaanOlij BastiaanOlij deleted the expose_vulkan_info_to_extensions branch September 9, 2021 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants