Skip to content

Initial VK render impementation#196

Draft
gxcreator wants to merge 1 commit into
KD-lab-Open-Source:mainfrom
gxcreator:VK_render
Draft

Initial VK render impementation#196
gxcreator wants to merge 1 commit into
KD-lab-Open-Source:mainfrom
gxcreator:VK_render

Conversation

@gxcreator
Copy link
Copy Markdown
Contributor

No description provided.

@IonAgorria
Copy link
Copy Markdown
Collaborator

Damn really looking towards this, ask any questions you might have! also small note that Sokol renderer is not fully optimized yet and still lacks some feature parity with DirectX9 renderer

(me reading email title of PR)
image

@gxcreator
Copy link
Copy Markdown
Contributor Author

gxcreator commented May 13, 2026

@IonAgorria This is just toy implementation I've been working for a long time for fun - heavy relying on googling and AI since I had not much expirience with VK apart from tinkering with yuzu render.
There is still a work to do to reach proper quality level - however it would be a sin to let working render rust and get abandoned on my local machine 😅.
Currently it is somewhat fully functional - but pretty slow in crowded enviroument(7800X3d + 5080) due to excessive amount of unoptimized draw calls:

[PROF] 52 fps  2114277 draws  19.26 ms/frame  (261 frames)
  fence=1us  cleanup=535us  logic=15456us  texUp/6806=1420us
  acquire=4us  sh/124844=59us  lt/0=3us  main/1990216=916us
  submit=49us  present=35us  descAlloc=40846  pipeNew=0
  cmd-breakdown: ubo=165us  desc=186us  pipe=164us  vb=105us  ib=104us
  batch: groups=650499  instanced=173080  fallback=0  group=370us  upload=53us
         ubo=202us  desc=88us  pipe=70us  inst=0us  cmd=79us
[PROF] 58 fps  2379550 draws  17.24 ms/frame  (291 frames)
  fence=1us  cleanup=422us  logic=14042us  texUp/5331=991us
  acquire=4us  sh/139852=59us  lt/0=3us  main/2240571=942us
  submit=51us  present=34us  descAlloc=45912  pipeNew=0
  cmd-breakdown: ubo=167us  desc=187us  pipe=166us  vb=106us  ib=104us
  batch: groups=747826  instanced=221359  fallback=0  group=389us  upload=55us
         ubo=212us  desc=91us  pipe=73us  inst=0us  cmd=82us
[PROF] 59 fps  2242694 draws  17.07 ms/frame  (293 frames)
  fence=1us  cleanup=573us  logic=13584us  texUp/6271=1260us
  acquire=4us  sh/139592=59us  lt/0=3us  main/2103981=865us
  submit=48us  present=34us  descAlloc=45558  pipeNew=0
  cmd-breakdown: ubo=156us  desc=176us  pipe=154us  vb=99us  ib=97us
  batch: groups=710654  instanced=181656  fallback=0  group=359us  upload=53us
         ubo=195us  desc=87us  pipe=69us  inst=0us  cmd=78us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants