Skip to content

Some performance optimization for Vulkan renderer#8

Open
waldoalvarez00 wants to merge 1 commit into
SilkCommunity:mainfrom
waldoalvarez00:main
Open

Some performance optimization for Vulkan renderer#8
waldoalvarez00 wants to merge 1 commit into
SilkCommunity:mainfrom
waldoalvarez00:main

Conversation

@waldoalvarez00

Copy link
Copy Markdown

Implement IEquatable for PipeLineSettings and avoid doing two dictionary lookups in PipeLine.GetPipeline

Implement IEquatable for PipeLineSettings and avoid doing two dictionary lookups in PipeLine.GetPipeline
public StencilOp BackStencilDepthFailOp;
public StencilOp BackStencilPassOp;

public bool Equals(PipelineSettings other)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Feels like this might make sense being a record struct so all this gets generated for us.

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