WIP: GPU: Remove SSBO Vertex Fetch API #127660

Draft
Clément Foucault wants to merge 2 commits from fclem/blender:gpu-cleanup-metal-vertex-fetch into main

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

This API was used as a workaround to the lack of
geometry shader. It has been rendered redundant
since the introduction of #125782.

This needs to wait for the completion of #127493
and the removal of any user code in order to be
merged.

This API was used as a workaround to the lack of geometry shader. It has been rendered redundant since the introduction of #125782. This needs to wait for the completion of #127493 and the removal of any user code in order to be merged.
Clément Foucault added this to the 4.4 milestone 2024-09-15 19:29:38 +02:00
Clément Foucault added the
Module
Viewport & EEVEE
label 2024-09-15 19:29:38 +02:00
Clément Foucault added 2 commits 2024-09-15 19:29:44 +02:00
DRW: Remove support for Metal Vertex fetch API
Some checks failed
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
95ab6f15f2
All geometry shaders have been ported to the
primitive expansion API. The vertex fetch API
is no longer used inside the DRAW module.

Rel #127493
This API was used as a workaround to the lack of
geometry shader. It has been rendered redundant
since the introduction of #125782.

This needs to wait for the completion of #127493
and the removal of any user code in order to be
merged.
Clément Foucault changed title from GPU: Remove SSBO Vertex Fetch API to WIP: GPU: Remove SSBO Vertex Fetch API 2024-09-15 19:29:56 +02:00
Clément Foucault added a new dependency 2024-09-15 19:41:35 +02:00
This pull request has changes conflicting with the target branch.
  • source/blender/draw/intern/draw_command.cc
  • source/blender/draw/intern/draw_command.hh
  • source/blender/gpu/intern/gpu_shader_private.hh
  • source/blender/gpu/metal/mtl_batch.mm
  • source/blender/gpu/metal/mtl_immediate.mm
  • source/blender/gpu/metal/mtl_shader.mm
  • source/blender/gpu/metal/mtl_shader_generator.hh
  • source/blender/gpu/metal/mtl_shader_generator.mm
  • source/blender/gpu/shaders/metal/mtl_shader_defines.msl

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u gpu-cleanup-metal-vertex-fetch:fclem-gpu-cleanup-metal-vertex-fetch
git checkout fclem-gpu-cleanup-metal-vertex-fetch
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 & 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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & 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.

Reference: blender/blender#127660
No description provided.