WIP: Vulkan: Initial Immediate Mode Support. #106954

Closed
Jeroen Bakker wants to merge 27 commits from Jeroen-Bakker:vulkan-immediate into main

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

Initial support for immediate mode emulation in Vulkan.
This implementation doesn't cache and is expected to
be slow.

image

Most work was spent on making VKVertexAttributreObject
usable for both Batches and Immediate mode (#106224)

Initial support for immediate mode emulation in Vulkan. This implementation doesn't cache and is expected to be slow. ![image](/attachments/20b4c308-36a5-41cc-8ec9-e9347b68a248) Most work was spent on making VKVertexAttributreObject usable for both Batches and Immediate mode (#106224)
141 KiB
Jeroen Bakker added 27 commits 2023-04-14 15:49:58 +02:00
b0563f520e Added test for offscreen rendering.
It doesn't validate anything yet, it should (for now) be used
with renderdoc.
29cc37cf22 GPU: Add texture usage parameter to GPUOffscreen.
Currently the Textures used for offscreen rendering don't have
the `GPU_TEXTURE_USAGE_HOST_READ` flag. But some cases it is
needed. This PR adds a parameter when creating an offscreen
buffer.

Other solution could be to add this flag to all textures, but
we chose not to do this as that reduces the amount of fine-tuning
options for Metal/Vulkan backends. GPU can store textures
differently based on its actual usage.

This option isn't available in the python API as we don't expect
add-on developers to fine-tune texture usages to this extent.
Jeroen Bakker added the
Interest
Vulkan
label 2023-04-14 15:50:26 +02:00
Jeroen Bakker added this to the 3.6 LTS milestone 2023-04-14 15:50:31 +02:00
Jeroen Bakker added this to the EEVEE & Viewport project 2023-04-14 15:50:35 +02:00
Jeroen Bakker self-assigned this 2023-04-14 15:50:40 +02:00
Jeroen Bakker changed title from Vulkan: Initial Immediate Mode Support. to WIP: Vulkan: Initial Immediate Mode Support. 2023-04-14 15:56:56 +02:00
Author
Member

This PR is part of #106224

This PR is part of #106224
Jeroen Bakker closed this pull request 2023-04-17 08:59:29 +02:00
Jeroen Bakker deleted branch vulkan-immediate 2023-04-17 08:59:34 +02:00

Pull request closed

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#106954
No description provided.