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

Clear images through BeginRendering #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Cherser-s
Copy link
Contributor

Added clearing image through vkCmdBeginRenderingKHR if an application performs placing clear barriers, clear and subsequent grCmdBindTargets call in the same command buffer. Only works in the case if the application uses levelCount = 1 and layerCount = 1 both in barriers and clear calls.

Works for BF4, although the game does separate image clears between different command buffers, so it doesn't work for each image in the game.

@Cherser-s Cherser-s force-pushed the dynamic_rendering_clear branch from ac09bc7 to 02594b9 Compare November 30, 2021 14:32
@Cherser-s Cherser-s force-pushed the dynamic_rendering_clear branch 2 times, most recently from 0011883 to f73765f Compare December 12, 2021 17:01
@Cherser-s Cherser-s force-pushed the dynamic_rendering_clear branch from f73765f to 370f435 Compare December 17, 2021 05:15
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.

1 participant