Private
Public Access
docs(twitter): add 2074108624553554387 corpus (NOTimothyLottes Vulkan loader Lib() pattern + 32-bit offset symbols)
3-post thread, 1 PNG, 20 likes, 2054 views. Vulkan starts with the ping pong between getting an instance proc addr for vkCreateInstance, then using that to create an instance to get the remaining functions. Lottes reuses his Lib() code modified for VK: keeps a 64-bit base and 32-bit offsets for symbols. @nullspector asks if 4GB max distance between symbols is a real guarantee; Lottes: 'It's working thus far, if I find a case it doesn't work I'll change it. I keep a different base per library, so likely safe enough.' Same pattern as the register-as-memory / pre-emptive scatter approach: 64-bit base + 32-bit offset = compact symbol table. Sibling to the 2074725506050642021 RADV + queue setup and the 2075769880092037309 VK queue rethink.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: "Vulkan starts with the ping pong between getting an instance proc addr so one ca"
|
||||
author: "NOTimothyLottes"
|
||||
handle: "@NOTimothyLottes"
|
||||
post_url: "https://x.com/NOTimothyLottes/status/2074108624553554387"
|
||||
post_id: "2074108624553554387"
|
||||
timestamp: "2026-07-06 12:30:05"
|
||||
post_count: 3
|
||||
reply_count: 1
|
||||
repost_count: 0
|
||||
like_count: 20
|
||||
view_count: 2054
|
||||
---
|
||||
|
||||
# @NOTimothyLottes — Vulkan starts with the ping pong between getting an instance proc addr so one ca
|
||||
|
||||
## Post 1 (2026-07-06 12:30:05)
|
||||
|
||||
Vulkan starts with the ping pong between getting an instance proc addr so one can get vkCreateInstance, then using that to create an instance so one can get the remaining functions. I reuse my Lib() code modified for VK, that keeps a 64-bit base and 32-bit offsets for symbols.
|
||||
|
||||

|
||||
|
||||
## Post 2 (2026-07-08 16:09:55) — reply to Post 1
|
||||
|
||||
@NOTimothyLottes That's very neat, but is it really true in practice that the max distance between symbols can't exceed 4GB? I think it would be a sane guarantee that it can't, but I assumed the worst and got scared off from the idea...
|
||||
|
||||
## Post 3 (2026-07-08 16:24:40) — reply to Post 2
|
||||
|
||||
@nullspector It’s working thus far, if I find a case it doesn’t work I’ll change it. I keep a different base per library, so likely safe enough.
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"root_post_id": "2074108624553554387",
|
||||
"posts": [
|
||||
{
|
||||
"post_id": "2074108624553554387",
|
||||
"author": "NOTimothyLottes",
|
||||
"handle": "NOTimothyLottes",
|
||||
"text": "Vulkan starts with the ping pong between getting an instance proc addr so one can get vkCreateInstance, then using that to create an instance so one can get the remaining functions. I reuse my Lib() code modified for VK, that keeps a 64-bit base and 32-bit offsets for symbols.",
|
||||
"timestamp": "2026-07-06 12:30:05",
|
||||
"media_urls": [
|
||||
"https://pbs.twimg.com/media/HMi2ZkFXEAAy767?format=png&name=orig"
|
||||
],
|
||||
"reply_to_id": null,
|
||||
"quote_of_id": null,
|
||||
"metrics": {
|
||||
"reply_count": 1,
|
||||
"repost_count": 0,
|
||||
"like_count": 20,
|
||||
"view_count": 2054
|
||||
}
|
||||
},
|
||||
{
|
||||
"post_id": "2074888721959149995",
|
||||
"author": "Michael Spector",
|
||||
"handle": "nullspector",
|
||||
"text": "@NOTimothyLottes That's very neat, but is it really true in practice that the max distance between symbols can't exceed 4GB? I think it would be a sane guarantee that it can't, but I assumed the worst and got scared off from the idea...",
|
||||
"timestamp": "2026-07-08 16:09:55",
|
||||
"media_urls": [],
|
||||
"reply_to_id": "2074108624553554387",
|
||||
"quote_of_id": null,
|
||||
"metrics": {
|
||||
"reply_count": 1,
|
||||
"repost_count": 0,
|
||||
"like_count": 0,
|
||||
"view_count": 25
|
||||
}
|
||||
},
|
||||
{
|
||||
"post_id": "2074892435038077125",
|
||||
"author": "NOTimothyLottes",
|
||||
"handle": "NOTimothyLottes",
|
||||
"text": "@nullspector It’s working thus far, if I find a case it doesn’t work I’ll change it. I keep a different base per library, so likely safe enough.",
|
||||
"timestamp": "2026-07-08 16:24:40",
|
||||
"media_urls": [],
|
||||
"reply_to_id": "2074888721959149995",
|
||||
"quote_of_id": null,
|
||||
"metrics": {
|
||||
"reply_count": 0,
|
||||
"repost_count": 0,
|
||||
"like_count": 1,
|
||||
"view_count": 37
|
||||
}
|
||||
}
|
||||
],
|
||||
"source_url": "https://x.com/NOTimothyLottes/status/2074108624553554387"
|
||||
}
|
||||
Reference in New Issue
Block a user