Vulkan: Refactor: Layout Policy #115793

Closed
Kazashi Yoshioka wants to merge 1 commits from (deleted):vk_refactor_imagelayout into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Contributor

To streamline Render-pass #114463, first establish policy for the Image-Layout transition system.

If Image is not in some process,
The layout should always be static.
This best layout is the layout when the image enters and exits the render pass.
And the condition for unifying the render passes is that this layout is static.
(If this layout is dynamic, there will be multiple render passes and therefore multiple pipelines, but this is not required for many render passes in Blender.)

The good thing about this is that we don't have to change the layout during the binding of the resource.
Plus, there's no need to keep track of layouts. This PR is related to the streamlining of Render-pass.

To streamline Render-pass [#114463](https://projects.blender.org/blender/blender/pulls/114463#issuecomment-1077029), first establish policy for the Image-Layout transition system. If Image is not in some process, The layout should always be static. This best layout is the layout when the image enters and exits the render pass. And the condition for unifying the render passes is that this layout is static. (If this layout is dynamic, there will be multiple render passes and therefore multiple pipelines, but this is not required for many render passes in Blender.) The good thing about this is that we don't have to change the layout during the binding of the resource. Plus, there's no need to keep track of layouts. This PR is related to the streamlining of Render-pass.
Kazashi Yoshioka added 1 commit 2023-12-05 12:03:56 +01:00
Establish a policy on the layout of VkImage.
When the layout is not being processed,
it should always be this layout.
The good thing about this is that you don't have to change the layout during the binding of the resource.
Plus, there's no need to keep track of layouts. This PR is related to the streamlining of Renderpass.
The dummy attachment should be removed in a later PR.
Kazashi Yoshioka requested review from Jeroen Bakker 2023-12-05 12:05:26 +01:00
Kazashi Yoshioka changed title from Vulkan :Refactor :Layout Policy to Vulkan: Refactor: Layout Policy 2023-12-05 13:51:33 +01:00
Kazashi Yoshioka closed this pull request 2024-02-16 11:20:23 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
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: blender/blender#115793
No description provided.