Page MenuHome

GPU: Add placeholder for Vulkan backend.
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Oct 25 2022, 4:52 PM.

Details

Summary

This patch adds a placeholder for the vulkan backend.
When activated (WITH_VULKAN_BACKEND=On and --gpu-backend vulkan)
it might open a blender screen, but nothing should be visible as
none of the functions are implemented or otherwise crash on a nullptr.

This is expected as this is just a placeholder. The goal is to add shader compilation
+validation to this backend as one of the next steps so we can validate
changes to existing shaders on OpenGL, Metal and Vulkan at the same time.

Diff Detail

Repository
rB Blender
Branch
temp-gpu-vulkan-init (branched from master)
Build Status
Buildable 24404
Build 24404: arc lint + arc unit

Event Timeline

Jeroen Bakker (jbakker) retitled this revision from GPU: Add placeholder forr Vulkan backend. to GPU: Add placeholder for Vulkan backend..Oct 25 2022, 4:55 PM
  • Added VKBatch.
  • Added VKDrawList.
  • Added VKFrameBuffer.
  • Added VKIndexBuffer.
  • Added VKQueryPool.
Jeroen Bakker (jbakker) marked an inline comment as not done.Oct 26 2022, 3:13 PM
Jeroen Bakker (jbakker) added inline comments.
CMakeLists.txt
1231

Add space back

  • Added VKShader.
  • Added VKTexture.
  • Added VKUniformBuffer.
  • Added VKStorageBuffer+VKVertexBuffer.
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Oct 31 2022, 3:30 PM
  • Small tweaks in imports and cmake.
Jeroen Bakker (jbakker) requested review of this revision.Oct 31 2022, 3:38 PM
This revision is now accepted and ready to land.Oct 31 2022, 3:43 PM
This revision was automatically updated to reflect the committed changes.