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

Generate D2D1 input descriptions as file local ReadOnlyMemory<T> #571

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

Sergio0694
Copy link
Owner

Description

This PR updates the internal ID2D1Shader interface and generator to emit input descriptions as a ReadOnlyMemory<T>:

namespace ComputeSharp.D2D1.__Internals;

public interface ID2D1Shader
{
    ReadOnlyMemory<D2D1InputDescription> InputDescriptions { get; }
}

This also removes the previously used ID2D1InputDescriptionsLoader interface.

@Sergio0694 Sergio0694 added breaking change 💣 A change that is either binary or source breaking optimization 🚀 Performance improvement to existing APIs feature 🎉 A brand new feature for ComputeSharp labels Sep 27, 2023
@Sergio0694 Sergio0694 merged commit 99110fb into main Sep 27, 2023
@Sergio0694 Sergio0694 deleted the dev/shader-descriptions-memory branch September 27, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change 💣 A change that is either binary or source breaking feature 🎉 A brand new feature for ComputeSharp optimization 🚀 Performance improvement to existing APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant