Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@bdero
Copy link
Member

@bdero bdero commented Feb 28, 2023

Use a blit for the root pass copy when available in the backend.

@bdero bdero self-assigned this Feb 28, 2023
@bdero bdero force-pushed the bdero/use-blit-pass branch from 9491bb5 to 1d5c261 Compare February 28, 2023 01:04
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

RSLGTM

@bdero bdero mentioned this pull request Feb 28, 2023
@bdero bdero force-pushed the bdero/use-blit-pass branch from 1d5c261 to b826efc Compare February 28, 2023 01:24
pass->AddCopy(bridge, texture);

pass->EncodeCommands(context->GetResourceAllocator());
assert(pass->EncodeCommands(context->GetResourceAllocator()));
Copy link
Member

Choose a reason for hiding this comment

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

asserts get stripped away in !defined(NDEBUG). Besides, let's not terminate the process on this error. Return false like elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, fixed.

@chinmaygarde
Copy link
Member

Really supportive of this change except for the stripped away thing that you want to do :)

@bdero bdero force-pushed the bdero/use-blit-pass branch from b826efc to 437eea6 Compare February 28, 2023 01:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants