Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.15k stars 515 forks source link

Update tutorial to use dynamic state for viewport and scissor #293

Closed SaschaWillems closed 2 years ago

SaschaWillems commented 2 years ago

This PR updates the tutorial to use dynamic state for viewport and scissor rectangles. This simplifies things a lot and no longer requires e.g. pipelines and render passes to be recreated with the swap chain on window resize.

Overv commented 2 years ago

I'll review this sometime this week.

Overv commented 2 years ago

If you replace the link and (re)move the early command buffer mentions then I'll approve and merge :+1:

SaschaWillems commented 2 years ago

I have pushed the changes.