aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_config.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-06-30 09:29:18 -0600
committerTobin Ehlis <tobine@google.com>2016-07-06 08:05:37 -0600
commitf148d9635a5ddc0b56e7a3221ff7b6a6f2250119 (patch)
tree99e90470f760482b72e2c78c9dc6ca53cce7974b /layers/vk_layer_config.cpp
parent4359eaacc4593907195c3d4218172122cbb84509 (diff)
downloadusermoji-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