Skip to content

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