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

Move experimental vulkan functions to mainline graphics_vulkan library #8675

Merged
merged 6 commits into from Mar 28, 2024

Conversation

Jhonnyg
Copy link
Contributor

@Jhonnyg Jhonnyg commented Mar 14, 2024

Removed the experimental vulkan API + library and instead moved all the code into the mainline vulkan library. This should make building the rive extension simpler (due to less dependencies) as well as merging some of the shared functionality later on.

@@ -221,6 +251,45 @@ namespace dmGraphics
TEXTURE_FORMAT_COUNT
};

struct PipelineState
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps this doesn't need to live in the dmsdk? we could potentially do:
typedef struct PipelineState* HPipelineState

Copy link
Contributor

Choose a reason for hiding this comment

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

It makes sense I think, as I think this struct may be a bit volatile.

ACCESS_FLAG_SHADER = 4,
};

struct RenderPassDescriptor
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Although we usually avoid putting structs in the dksdk, in this case it's fine because I doubt anyone else will use the vulkan dmsdk..

@Jhonnyg Jhonnyg requested a review from JCash March 14, 2024 13:05
JCash
JCash previously approved these changes Mar 27, 2024
@@ -221,6 +251,45 @@ namespace dmGraphics
TEXTURE_FORMAT_COUNT
};

struct PipelineState
Copy link
Contributor

Choose a reason for hiding this comment

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

It makes sense I think, as I think this struct may be a bit volatile.

@Jhonnyg Jhonnyg added engine Issues related to the Defold engine vulkan labels Mar 28, 2024
@Jhonnyg Jhonnyg merged commit 036e08e into dev Mar 28, 2024
4 of 15 checks passed
@Jhonnyg Jhonnyg deleted the vulkan-move-experimental-to-mainline branch March 30, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Issues related to the Defold engine vulkan
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants