Files

35 lines
1.3 KiB
Markdown

---
title: "Curious if you can MapViewOfFile() and then use VkImportMemoryHostPointerInfoEXT to map that R+W on the GPU."
type: archive
source: twitter
source_url: "https://x.com/NOTimothyLottes/status/1737618231450579351"
author: "NOTimothyLottes"
handle: NOTimothyLottes
post_id: "1737618231450579351"
date: 2023-12-20
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- NOTimothyLottes
description: "Curious if you can MapViewOfFile() and then use VkImportMemoryHostPointerInfoEXT to map that R+W on the GPU."
in_reply_to: ""
---
## Source
- URL: https://x.com/NOTimothyLottes/status/1737618231450579351
- Author: NOTimothyLottes (@NOTimothyLottes)
- Posted: 2023-12-20 23:37:24
## Thread
**1/** **@NOTimothyLottes** ^1737618231450579351
Curious if you can MapViewOfFile() and then use VkImportMemoryHostPointerInfoEXT to map that R+W on the GPU. Anyone try it?
If it worked, one could then support shader load/store to a WAD file 'on disk' (aka page cache) without ever involving syscalls to access.
Branches: [[archive/threads/NOTimothyLottes/2023-12-20-curious-if-you-can-mapviewoffile-and-then-use/2023-12-21-frustum-it-is-a-gray-driver-area-having-this-feature-on]], [[archive/threads/NOTimothyLottes/2023-12-20-curious-if-you-can-mapviewoffile-and-then-use/2023-12-21-vladov3000-loading-files-would-be-synchronous-and-involve-a]]