Bump RUNTIME_VERSION to 1850: a fresh Shared texture starts in memory the driver zeroed
On a device that enables zeroInitializeDeviceMemory (VK_EXT_zero_initialize_device_memory), the pooled image blocks are allocated zeroed, and a Shared or Managed host-copy texture placed past everything its block ever held starts in VK_IMAGE_LAYOUT_ZERO_INITIALIZED_EXT, so its making writes no zeros on the host and no longer waits for the GPU work queued before it. Reused ranges take today's path. The allocation count is development's (no block per texture). Re-pinned. Verified by surface: - XTX, texture made behind about 1.5 s of queued fills: new_texture 0.16-0.52 ms on the tip, against development waiting 0.37-1.07 s in 4 of 5 awake runs. - Steady state awake, median per make, fresh ranges: XTX 5.3-5.9 us against 45-61 us (job 6433); 780M 5.6-8.9 us against 21-30 us (6434). - Reused ranges are the same within noise. The first write into untouched memory moves to the second round (about 8 us). - 1000 Shared textures in three rounds take pooled blocks only, and read zero. - ms01 clippy plain and gpu, rustdoc, signatures, runtime nextest 1306 passed (6382); clippy gpu and cpu-icd at c4b61e28a1 (6419); lavapipe 16 tests, 1000 of 1000 started zeroed. Known gap in FAST-PATHS: after runtime suspend on RADV the first CPU write still waits for the queued GPU work (226-596 ms). NVIDIA's support for the extension is pending (5080 entry surface-zi-nv-ext).
This commit is contained in:
1 parent
992c3ba8d4
commit
6a60ebe854
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
7b9a8cd88bb442531fcc97c8546ae1955df9b14e01497529c3979b4f44180b4d
|
||||
99f5f8eda5d84055deb7bbd120cb0c1d6ff39d2274d1993e0ab9859ac4c4872e
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
|
||||
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
|
||||
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
|
||||
/// keeps no history.
|
||||
pub const RUNTIME_VERSION: u32 = 1849;
|
||||
pub const RUNTIME_VERSION: u32 = 1850;
|
||||
|
||||
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
|
||||
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles
|
||||
|
||||
Reference in new issue
Block a user