Render Pass API Streamlining #14

Merged
cosmonaut merged 8 commits from render_pass_rewrite into main 2022-02-24 22:01:38 +00:00

Removes Refresh_RenderPass and Refresh_Framebuffer objects.

Refresh_BeginRenderPass now takes a set of Refresh_ColorAttachmentInfo structs and an optional Refresh_DepthStencilAttachmentInfo struct that describe the render pass. The render pass and framebuffer objects are now managed by the implementation instead of the application.

Accordingly, Refresh_GraphicsPipelineCreateInfo now takes a Refresh_GraphicsPipelineAttachmentInfo struct that describes render passes that may be used with the pipeline. It is an error to bind a pipeline during an incompatible render pass.

Removes `Refresh_RenderPass` and `Refresh_Framebuffer` objects. `Refresh_BeginRenderPass` now takes a set of `Refresh_ColorAttachmentInfo` structs and an optional `Refresh_DepthStencilAttachmentInfo` struct that describe the render pass. The render pass and framebuffer objects are now managed by the implementation instead of the application. Accordingly, `Refresh_GraphicsPipelineCreateInfo` now takes a `Refresh_GraphicsPipelineAttachmentInfo` struct that describes render passes that may be used with the pipeline. It is an error to bind a pipeline during an incompatible render pass.
cosmonaut added 8 commits 2022-02-24 21:59:35 +00:00
continuous-integration/drone/push Build is failing Details
44d510892c
start rewriting render pass API
continuous-integration/drone/push Build is passing Details
8d41e2a64a
continue rewrite
continuous-integration/drone/push Build is passing Details
3fcc940586
destroy render passes and framebuffers on exit
continuous-integration/drone/push Build is passing Details
2db60e5ab0
fix null reference
continuous-integration/drone/push Build is passing Details
3741a95cb3
partially revert memory barrier change
continuous-integration/drone/push Build is passing Details
e9e9e37d15
another barrier revert
continuous-integration/drone/push Build is passing Details
a39b49ee9b
decouple buffer size from memory size
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
76217adc40
simplify VULKAN_INTERNAL_CreateTexture
cosmonaut merged commit a531fb8593 into main 2022-02-24 22:01:38 +00:00
cosmonaut deleted branch render_pass_rewrite 2022-02-24 22:01:38 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/Refresh#14
There is no content yet.