]> git.tdb.fi Git - libs/gl.git/commit
Rework multisample resolve to use resolve attachments
authorMikko Rasa <tdb@tdb.fi>
Tue, 19 Apr 2022 07:27:53 +0000 (10:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 19 Apr 2022 08:02:16 +0000 (11:02 +0300)
commit94cadd1618f93239b1cb0acbd4f958257c035c98
treefdae6284be2ce933161826a28cc9729c79f38f9d
parentd01902f355b1ea9a038a7f96cab37e49c6b65419
Rework multisample resolve to use resolve attachments

Vulkan can only resolve a depth attachment as part of a subpass, and in
order to do that the attachments must all be in the same framebuffer.
14 files changed:
source/backends/opengl/commands_backend.cpp
source/backends/opengl/commands_backend.h
source/backends/opengl/framebuffer_backend.cpp
source/backends/opengl/framebuffer_backend.h
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/commands_backend.h
source/backends/vulkan/framebuffer_backend.h
source/core/framebuffer.cpp
source/core/framebuffer.h
source/render/renderer.cpp
source/render/renderer.h
source/render/rendertarget.cpp
source/render/rendertarget.h
source/render/sequence.cpp