Draft apply of new media convention.

This commit is contained in:
ed committed 2026-08-24 14:48:57 -04:00
1 parent 78401f09a2
commit cd9803fe85
53 files changed
+153 -185

No files matched your search

@@ -29,18 +29,22 @@ in_reply_to: ""
Rethinking Vulkan queue choice. Traditional double-buffered games might do something like the code below. Find the queue that does {presentation,graphics,compute}. First off this seems like a lot of unnecessary work when one could just choose queue 0 and be done with it ...
Media (not lifted): `2075769880092037309_HM6desTW0AAHA_H_orig.png`
![](https://pbs.twimg.com/media/HM6desTW0AAHA_H?format=png&name=orig)
Branches: [[archive/threads/NOTimothyLottes/2026-07-11-rethinking-vulkan-queue-choice-traditional-double/2026-07-11-konrad_kubacki_-am-i-having-a-stroke-what-is-this-font-it-feels]]
**2/**
AMD on Linux (RADV) and Windows. Queue 0 just works. But note both platforms support doing present on queue 1. So on AMD I'm likely going to render via compute on queue 0 [to reduce chance of preemption] and present on queue 1. And have both decoupled (for front buffer rendering)
Media (not lifted): `2075770634349527454_HM6d5GnWAAAGOmg_orig.jpg` `2075770634349527454_HM6d8lcXsAA-8LJ_orig.jpg`
![](https://pbs.twimg.com/media/HM6d5GnWAAAGOmg?format=jpg&name=orig)
![](https://pbs.twimg.com/media/HM6d8lcXsAA-8LJ?format=jpg&name=orig)
**3/**
NVIDIA is more complex. They put a DMA engine in queue 1 slot, and compute engine in queue 2 slot. Some sometimes queue 2 slot can or cannot do present (varies by driver). So maybe present on 0 (gfx queue), and dispatch on queue 2 by default for NV.
Media (not lifted): `2075771407510773906_HM6egsMWcAAkjOq_orig.jpg` `2075771407510773906_HM6ex2jXwAAkmI6_orig.jpg` `2075771407510773906_HM6e5EdXwAAuOG5_orig.jpg`
![](https://pbs.twimg.com/media/HM6egsMWcAAkjOq?format=jpg&name=orig)
![](https://pbs.twimg.com/media/HM6ex2jXwAAkmI6?format=jpg&name=orig)
![](https://pbs.twimg.com/media/HM6e5EdXwAAuOG5?format=jpg&name=orig)