diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-06-30 09:29:18 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-07-06 08:05:37 -0600 |
| commit | f148d9635a5ddc0b56e7a3221ff7b6a6f2250119 (patch) | |
| tree | 99e90470f760482b72e2c78c9dc6ca53cce7974b /layers/vk_layer_config.cpp | |
| parent | 4359eaacc4593907195c3d4218172122cbb84509 (diff) | |
| download | usermoji-f148d9635a5ddc0b56e7a3221ff7b6a6f2250119.tar.xz | |
layers: Use VkRenderPassCreateInfo to check compatibility
Make the two renderpass compatibility functions only use VkRenderPassCreateInfo.
At the call site, check renderPass handles and if they don't match, proceed to
call the compatibility function with valid VkRenderPassCreateInfo.
Note that saved renderPass handles are valid at the call site, as they are
stored in framebuffer, command buffer, or pipeline state. However it's possible
that renderPass itself was destroyed, so VkRenderPassCreateInfo is pulled from
the framebuffer or pipeline state in those cases.
Diffstat (limited to 'layers/vk_layer_config.cpp')
0 files changed, 0 insertions, 0 deletions
