WIP: Vulkan: First frame #121787

Draft
Jeroen Bakker wants to merge 19 commits from Jeroen-Bakker/blender:vulkan/first-frame into main

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

Seems like resources are overwritten in second frame making the render graph inconsistent.
We might want to detect this when removing resources (if there are still links in any context
we should assert.)

  • Auto move none render nodes outside the rendering scope
  • Store debug ref per node

State

image
image

TODO

  • When drawing space overlay the viewport seems to be reset to the full swapchain resolution.
  • Text rendering is faulty.
    • Glyphs can be overwritten?
    • Buffers are overwritten
  • Viewport rendering is not working. Viewport context might not be submitted at all.
  • Depth and stencil attachments are ignored
  • Remove validation code
Seems like resources are overwritten in second frame making the render graph inconsistent. We might want to detect this when removing resources (if there are still links in any context we should assert.) - [x] Auto move none render nodes outside the rendering scope - [ ] Store debug ref per node **State** ![image](/attachments/52b05002-2dd9-4b38-a345-37e23459f498) ![image](/attachments/e1064fa3-9a5a-4d7b-b978-ef9bcc11b601) **TODO** - [ ] When drawing space overlay the viewport seems to be reset to the full swapchain resolution. - [ ] Text rendering is faulty. - Glyphs can be overwritten? - Buffers are overwritten - [x] Viewport rendering is not working. Viewport context might not be submitted at all. - [ ] Depth and stencil attachments are ignored - [ ] Remove validation code
Jeroen Bakker added this to the 4.2 LTS milestone 2024-05-14 15:40:54 +02:00
Jeroen Bakker added the
Interest
Vulkan
label 2024-05-14 15:40:54 +02:00
Jeroen Bakker self-assigned this 2024-05-14 15:40:54 +02:00
Jeroen Bakker added 2 commits 2024-05-14 15:41:03 +02:00
Jeroen Bakker added this to the EEVEE & Viewport project 2024-05-14 15:41:10 +02:00
Jeroen Bakker force-pushed vulkan/first-frame from 34898dbb9d to a0c4600e9c 2024-05-16 16:16:22 +02:00 Compare
Jeroen Bakker added 1 commit 2024-05-17 11:00:14 +02:00
Jeroen Bakker added 2 commits 2024-05-21 10:18:11 +02:00
Jeroen Bakker force-pushed vulkan/first-frame from af3c8a514d to bf65dbf576 2024-05-23 12:13:18 +02:00 Compare
Jeroen Bakker force-pushed vulkan/first-frame from bf65dbf576 to b96275a839 2024-05-23 15:28:56 +02:00 Compare
Jeroen Bakker force-pushed vulkan/first-frame from b96275a839 to 7e5f834144 2024-05-24 12:43:48 +02:00 Compare
Jeroen Bakker force-pushed vulkan/first-frame from 7e5f834144 to 563d19043c 2024-05-24 13:42:49 +02:00 Compare
Jeroen Bakker added 3 commits 2024-05-24 16:49:14 +02:00
Jeroen Bakker force-pushed vulkan/first-frame from fee8b20398 to 54f2a56757 2024-05-28 10:10:38 +02:00 Compare
Jeroen Bakker added 1 commit 2024-05-28 11:22:18 +02:00
Jeroen Bakker added 1 commit 2024-05-28 11:28:44 +02:00
Jeroen Bakker added 1 commit 2024-05-28 14:26:34 +02:00
Jeroen Bakker added 1 commit 2024-05-28 14:31:07 +02:00
Jeroen Bakker added 1 commit 2024-05-28 14:33:40 +02:00
Jeroen Bakker added 1 commit 2024-05-28 15:49:15 +02:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u vulkan/first-frame:Jeroen-Bakker-vulkan/first-frame
git checkout Jeroen-Bakker-vulkan/first-frame
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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 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#121787
No description provided.