Added dynamic rendering sample to readme
This commit is contained in:
parent
3e55366434
commit
3b7098d699
2 changed files with 4 additions and 1 deletions
|
|
@ -421,6 +421,9 @@ Uses a special image that contains variable shading rates to vary the number of
|
|||
|
||||
Demonstrates the use of VK_EXT_descriptor_indexing for creating descriptor sets with a variable size that can be dynamically indexed in a shader using `GL_EXT_nonuniform_qualifier` and `SPV_EXT_descriptor_indexing`.
|
||||
|
||||
#### [Dynamic rendering (VK_KHR_dynamic_rendering)](examples/dynamicrendering/)
|
||||
|
||||
Shows usage of the VK_KHR_dynamic_rendering extension, which simplifies the rendering setup by no longer requiring render pass objects or framebuffers.
|
||||
|
||||
### Misc
|
||||
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ public:
|
|||
colorAttachment.imageView = swapChain.buffers[i].view;
|
||||
colorAttachment.imageLayout = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR;
|
||||
colorAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR;
|
||||
colorAttachment.storeOp = VK_ATTACHMENT_STORE_OP_NONE_KHR;
|
||||
colorAttachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
colorAttachment.clearValue.color = { 0.0f,0.0f,0.0f,0.0f };
|
||||
|
||||
// A single depth stencil attachment info can be used, but they can also be specified separately.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue