[bug, unconfirmed] buffer_store_format_xyzw through a structured or typed writable buffer view stores nothing #255

Open
opened 2026-11-27 05:31:41 +00:00 by LakshanSivakumar · 13 comments
LakshanSivakumar commented 2026-11-27 05:31:41 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T05:31:41Z.


Status: unconfirmed. Help confirming or ruling it out is the ask.

In a synthetic GPU test, buffer_store_format_xyzw with idxen stored nothing at all when the destination was

  • a 16-byte structured writable buffer view, or
  • an R32G32B32A32_UINT typed writable buffer view,

while buffer_store_dwordx4 with the same four words through the same descriptor stored correctly.

Why it might not be real

The test builds the view's descriptor words by hand. If the emulated format of those views differs from what the title really binds, the test proves nothing. We do not yet know the view format the title uses for these buffers.

Why it matters if real

The culling compute shaders write their output with a buffer store. A store that silently writes nothing through this kind of view would by itself explain buffers that stay empty (see the black-world issue).

What would settle it

  1. The descriptor format the title binds for writable structured and typed buffers (from a descriptor trace of a world frame; host-side information only).
  2. A test in crates/victory-gpu that stores through a view built with that exact format, with buffer_store_format_xyzw and with buffer_store_dwordx4, and reads the bytes back.
  3. If it fails: where the store is lost (translation of the formatted store, the host view's format or stride, or the DXIL the converter is given).

Places to look: the formatted-store lowering in crates/victory-shader/src/emit/lower.rs, and how writable buffer views are created in crates/victory-gpu/src/native.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6640628636 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T05:31:41Z. --- **Status: unconfirmed. Help confirming or ruling it out is the ask.** In a synthetic GPU test, `buffer_store_format_xyzw` with `idxen` stored nothing at all when the destination was - a 16-byte structured writable buffer view, or - an `R32G32B32A32_UINT` typed writable buffer view, while `buffer_store_dwordx4` with the same four words through the same descriptor stored correctly. **Why it might not be real** The test builds the view's descriptor words by hand. If the emulated format of those views differs from what the title really binds, the test proves nothing. We do not yet know the view format the title uses for these buffers. **Why it matters if real** The culling compute shaders write their output with a buffer store. A store that silently writes nothing through this kind of view would by itself explain buffers that stay empty (see the black-world issue). **What would settle it** 1. The descriptor format the title binds for writable structured and typed buffers (from a descriptor trace of a world frame; host-side information only). 2. A test in `crates/victory-gpu` that stores through a view built with that exact format, with `buffer_store_format_xyzw` and with `buffer_store_dwordx4`, and reads the bytes back. 3. If it fails: where the store is lost (translation of the formatted store, the host view's format or stride, or the DXIL the converter is given). Places to look: the formatted-store lowering in `crates/victory-shader/src/emit/lower.rs`, and how writable buffer views are created in `crates/victory-gpu/src/native`.
marcus-4 commented 2026-11-27 06:24:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by marcus-4 on 2026-11-27T06:24:25Z.


Confirmed, and broader than the formatted store. On the native host every store by element index (idxen) through a structured or typed writable buffer view is lost, buffer_store_dwordx4 included. The cause is host-side: the native host never binds the view-stride table.

Test: heap_tests::formatted_and_dword_stores_through_structured_and_typed_buffer_views on marcus-4:test/buffer-store-format-views, one commit on main 2a3b03d1. Hand-assembled with llvm-mc, gfx1030, 32 lanes.

The views are made through create_placed_uav with CreateUnorderedAccessView descriptions, as the title makes them. This addresses the "descriptor words by hand" doubt in the report. Each lane stores four dwords at element lane:

View Store Dwords right (of 128)
raw (control), byte offset lane * 16 buffer_store_dwordx4 offen 128
structured, stride 16 buffer_store_format_xyzw idxen 0
structured, stride 16 buffer_store_dwordx4 idxen 0
typed R32G32B32A32_UINT buffer_store_format_xyzw idxen 0
typed R32G32B32A32_UINT buffer_store_dwordx4 idxen 0

The stored values appear nowhere in the 256 KiB pool, so they are dropped rather than misaddressed. The host's decode gives the right range for all four (buffer_view: base, and 32 × 16 = 512 bytes).

Why. In lower.rs, an indexed buffer access whose table entry comes from FSPX metadata (which gives no stride) takes its stride from view_stride. That reads the host's view-stride table, root SRV t255 (VIEW_STRIDES), at the view's heap index. Only the D3D12 host fills and binds that table (descriptor/host.rs set_stride, draw.rs); there is no reference to it under victory-gpu/src/native or victory-metal. On Metal the stride reads 0, and every indexed access through such a view goes wrong.

This looks like the "per-heap stride table" @Ketan-Kapse described in #258 and is opening a PR for, so I have not written a host fix. The test may be useful to that PR: it fails on main and should pass once the native host binds the table.

Not settled here:

  • the exact descriptor format the title binds for these buffers (needs a descriptor trace of a world frame);
  • a game run.

M1 Pro, macOS 27.2.1, Xcode 27.2, MSC 4.0.3. The control and the rest of victory-gpu pass; clippy (gnullvm, -D warnings) is clean.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7211498055 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7211498055). Originally posted by [marcus-4](https://github.com/marcus-4) on 2026-11-27T06:24:25Z. --- **Confirmed, and broader than the formatted store.** On the native host every store by element index (`idxen`) through a structured or typed writable buffer view is lost, `buffer_store_dwordx4` included. The cause is host-side: the native host never binds the view-stride table. **Test:** `heap_tests::formatted_and_dword_stores_through_structured_and_typed_buffer_views` on [`marcus-4:test/buffer-store-format-views`](https://github.com/LakshanSivakumar/Native-Victory-macOS/compare/main...marcus-4:Native-Victory-macOS:test/buffer-store-format-views), one commit on main `2a3b03d1`. Hand-assembled with llvm-mc, gfx1030, 32 lanes. The views are made through `create_placed_uav` with `CreateUnorderedAccessView` descriptions, as the title makes them. This addresses the "descriptor words by hand" doubt in the report. Each lane stores four dwords at element `lane`: | View | Store | Dwords right (of 128) | |---|---|---| | raw (control), byte offset `lane * 16` | `buffer_store_dwordx4 offen` | 128 | | structured, stride 16 | `buffer_store_format_xyzw idxen` | 0 | | structured, stride 16 | `buffer_store_dwordx4 idxen` | 0 | | typed `R32G32B32A32_UINT` | `buffer_store_format_xyzw idxen` | 0 | | typed `R32G32B32A32_UINT` | `buffer_store_dwordx4 idxen` | 0 | The stored values appear nowhere in the 256 KiB pool, so they are dropped rather than misaddressed. The host's decode gives the right range for all four (`buffer_view`: base, and 32 × 16 = 512 bytes). **Why.** In `lower.rs`, an indexed buffer access whose table entry comes from FSPX metadata (which gives no stride) takes its stride from `view_stride`. That reads the host's view-stride table, root SRV `t255` (`VIEW_STRIDES`), at the view's heap index. Only the D3D12 host fills and binds that table (`descriptor/host.rs` `set_stride`, `draw.rs`); there is no reference to it under `victory-gpu/src/native` or `victory-metal`. On Metal the stride reads 0, and every indexed access through such a view goes wrong. This looks like the "per-heap stride table" @Ketan-Kapse described in #258 and is opening a PR for, so I have not written a host fix. The test may be useful to that PR: it fails on main and should pass once the native host binds the table. **Not settled here:** - the exact descriptor format the title binds for these buffers (needs a descriptor trace of a world frame); - a game run. M1 Pro, macOS 27.2.1, Xcode 27.2, MSC 4.0.3. The control and the rest of `victory-gpu` pass; clippy (gnullvm, `-D warnings`) is clean.
LakshanSivakumar commented 2026-11-27 06:48:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T06:48:24Z.


Thank you. This is a better result than the report I wrote: the cause is host-side and not the formatted store, and your control row shows the test itself is sound.

I read main the same way: VIEW_STRIDES is filled and bound only by the D3D12 host (descriptor/host.rs, draw.rs), and nothing under native binds it. I have not run it.

Ketan-Kapse has said in #258 that the per-heap stride table is one of his two pull requests. A test that fails on main cannot merge alone, so please offer your test to that pull request, or open yours so it lands together with his fix. Either is fine; I only want the test and the fix to arrive together and not twice.

The descriptor format the title binds for these buffers is still open, as you say. I have not checked it either.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7211863785 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7211863785). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T06:48:24Z. --- Thank you. This is a better result than the report I wrote: the cause is host-side and not the formatted store, and your control row shows the test itself is sound. I read main the same way: `VIEW_STRIDES` is filled and bound only by the D3D12 host (`descriptor/host.rs`, `draw.rs`), and nothing under `native` binds it. I have not run it. Ketan-Kapse has said in #258 that the per-heap stride table is one of his two pull requests. A test that fails on main cannot merge alone, so please offer your test to that pull request, or open yours so it lands together with his fix. Either is fine; I only want the test and the fix to arrive together and not twice. The descriptor format the title binds for these buffers is still open, as you say. I have not checked it either.
Sheffy007 commented 2026-11-27 07:52:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sheffy007 on 2026-11-27T07:52:43Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7212907745 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7212907745). Originally posted by [Sheffy007](https://github.com/Sheffy007) on 2026-11-27T07:52:43Z. --- /claim
Sheffy007 commented 2026-11-27 07:53:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sheffy007 on 2026-11-27T07:53:06Z.


Follow-up on why buffer_store_format_xyzw ... idxen still stores nothing even when VIEW_STRIDES (t255, #264) is not involved or is bound:

  1. In crates/victory-shader/src/emit/lower.rs:12591, Lower::view_stride is only taken when !typed:
    Some(i) if used.is_none_or(|u| u.stride == 0) && !typed => { ... self.view_stride(src)? ... }
    
    So untyped indexed accesses (buffer_store_dwordx4 ... idxen without static stride metadata) failed due to missing t255 (#264), whereas buffer_store_format_* and buffer_load_format_* (typed == true) bypass view_stride and lower to DXIL TypedBuffer (bufferStore.f32, bufferLoad.f32, getDimensions).
  2. Disassembling the metal-shaderconverter 4.0.3 AIR bitcode (llvm-dis on the converted .metallib) shows TypedBuffer compiles to @air.write_texture_buffer_1d.v4f32, @air.read_texture_buffer_1d.v4f32, and @air.get_width_texture_buffer_1d, all reading word 1 (textureViewID at byte +8) of the 24-byte IRDescriptorTableEntry, while rawBufferStore.i32 (buffer_store_dwordx4) reads word 0 (gpuVA at byte +0).
  3. Metal::write_buffer wrote [gpu, 0, size as u64], leaving textureViewID = 0 (null MTLResourceID), so formatted stores were silently dropped and formatted loads / getDimensions returned 0 even on a declared table UAV where buffer_store_dwordx4 succeeded.

Opened #278 to populate a zero-copy MTLTextureType::TypeTextureBuffer in word 1 alongside gpuVA in word 0 for typed buffer SRVs/UAVs and 4-, 8-, and 16-byte structured buffer SRVs/UAVs, with an Apple Silicon GPU test (heap_tests::formatted_buffer_stores_and_loads_through_structured_and_typed_uavs) covering structured, R32G32B32A32_UINT, R32G32B32A32_FLOAT, R8G8B8A8_UNORM, R16G16B16A16_FLOAT, and R16G16B16A16_UINT views.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7212914332 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7212914332). Originally posted by [Sheffy007](https://github.com/Sheffy007) on 2026-11-27T07:53:06Z. --- Follow-up on why `buffer_store_format_xyzw ... idxen` still stores nothing even when `VIEW_STRIDES` (`t255`, #264) is not involved or is bound: 1. In `crates/victory-shader/src/emit/lower.rs:12591`, `Lower::view_stride` is only taken when `!typed`: ```rust Some(i) if used.is_none_or(|u| u.stride == 0) && !typed => { ... self.view_stride(src)? ... } ``` So untyped indexed accesses (`buffer_store_dwordx4 ... idxen` without static stride metadata) failed due to missing `t255` (#264), whereas `buffer_store_format_*` and `buffer_load_format_*` (`typed == true`) bypass `view_stride` and lower to DXIL `TypedBuffer` (`bufferStore.f32`, `bufferLoad.f32`, `getDimensions`). 2. Disassembling the `metal-shaderconverter` 4.0.3 AIR bitcode (`llvm-dis` on the converted `.metallib`) shows `TypedBuffer` compiles to `@air.write_texture_buffer_1d.v4f32`, `@air.read_texture_buffer_1d.v4f32`, and `@air.get_width_texture_buffer_1d`, all reading **word 1 (`textureViewID` at byte `+8`)** of the 24-byte `IRDescriptorTableEntry`, while `rawBufferStore.i32` (`buffer_store_dwordx4`) reads **word 0 (`gpuVA` at byte `+0`)**. 3. `Metal::write_buffer` wrote `[gpu, 0, size as u64]`, leaving `textureViewID = 0` (null `MTLResourceID`), so formatted stores were silently dropped and formatted loads / `getDimensions` returned `0` even on a declared table UAV where `buffer_store_dwordx4` succeeded. Opened #278 to populate a zero-copy `MTLTextureType::TypeTextureBuffer` in word 1 alongside `gpuVA` in word 0 for typed buffer SRVs/UAVs and 4-, 8-, and 16-byte structured buffer SRVs/UAVs, with an Apple Silicon GPU test (`heap_tests::formatted_buffer_stores_and_loads_through_structured_and_typed_uavs`) covering structured, `R32G32B32A32_UINT`, `R32G32B32A32_FLOAT`, `R8G8B8A8_UNORM`, `R16G16B16A16_FLOAT`, and `R16G16B16A16_UINT` views.
LakshanSivakumar commented 2026-11-27 08:08:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T08:08:05Z.


Thank you. This is a second cause that the stride table does not cover, and it explains why a formatted store would still be lost with #264 applied. #278 gets its own review.

Three things. First, /claim was not live when you wrote it, so nothing was booked. The pull request that adds it (#266) is going in now; please comment /claim again once it is merged. #255 is shared as it is: the stride table is Ketan-Kapse's #264, and marcus-4 has the failing test. Please look at those two before changing the same lines in descriptors.rs and host.rs.

Second, please say that the llvm-dis output you describe is from the converter's output for your own small test program and not from the title, and that no listing is in the repository or in the comments. Describing what it showed is fine.

Third, I have not checked whether our cullers use formatted stores at all. If you know which instruction they use for the records, please say so with how you know.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7213187344 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7213187344). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T08:08:05Z. --- Thank you. This is a second cause that the stride table does not cover, and it explains why a formatted store would still be lost with #264 applied. #278 gets its own review. Three things. First, `/claim` was not live when you wrote it, so nothing was booked. The pull request that adds it (#266) is going in now; please comment `/claim` again once it is merged. #255 is shared as it is: the stride table is Ketan-Kapse's #264, and marcus-4 has the failing test. Please look at those two before changing the same lines in `descriptors.rs` and `host.rs`. Second, please say that the `llvm-dis` output you describe is from the converter's output for your own small test program and not from the title, and that no listing is in the repository or in the comments. Describing what it showed is fine. Third, I have not checked whether our cullers use formatted stores at all. If you know which instruction they use for the records, please say so with how you know.
Sheffy007 commented 2026-11-27 10:48:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sheffy007 on 2026-11-27T10:48:52Z.


/claim

Following up on all three points:

  1. Re-commenting /claim now that #266 is live (shared with @Ketan-Kapse's #264 for VIEW_STRIDES and @marcus-4's test). Also inspected #264's diff and restructured #278 (38112699) so Decoded::Buffer, descriptors::decode, and #264's strides hunks in descriptors.rs, list.rs, and host.rs no longer touch the same lines, and changed #278 to Refs #255.
  2. Confirmed: the llvm-dis output described above was from metal-shaderconverter run on a small synthetic DXIL test program of our own, not from the title, and no listing from it is in the repository or in the comments.
  3. Which store instruction the cullers use for their indirect records (deduced strictly from repository code + #258 / #264 reports, without inspecting any game files):
    • In crates/victory-shader/src/emit/lower.rs:12595, Lower::view_stride (t255 VIEW_STRIDES) is only read when !typed:
      Some(i) if used.is_none_or(|u| u.stride == 0) && !typed => { let stride = self.view_stride(src)?; ... }
    • Formatted stores (buffer_store_format_*) have typed == true, so they bypass view_stride completely and emit bufferStore.f32 (word 1 textureViewID). Untyped indexed stores (buffer_store_dword* ... idxen on a view without static stride metadata) have !typed, multiply index * view_stride, and emit rawBufferStore.i32 (word 0 gpuVA).
    • Since @Ketan-Kapse reported in #258 / #264 that binding t255 (VIEW_STRIDES) alone caused the cullers' indirect-argument records to populate on Metal, the cullers must write those records with untyped indexed stores (buffer_store_dword* ... idxen), while #278 covers shaders that genuinely use buffer_load_format_* / buffer_store_format_* / typed-buffer getDimensions (now lazily materialized only when a bound shader's DXIL uses TypedBuffer).
<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7216337082 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7216337082). Originally posted by [Sheffy007](https://github.com/Sheffy007) on 2026-11-27T10:48:52Z. --- /claim Following up on all three points: 1. Re-commenting `/claim` now that #266 is live (shared with @Ketan-Kapse's #264 for `VIEW_STRIDES` and @marcus-4's test). Also inspected #264's diff and restructured #278 (`38112699`) so `Decoded::Buffer`, `descriptors::decode`, and #264's `strides` hunks in `descriptors.rs`, `list.rs`, and `host.rs` no longer touch the same lines, and changed #278 to `Refs #255`. 2. Confirmed: the `llvm-dis` output described above was from `metal-shaderconverter` run on a small synthetic DXIL test program of our own, not from the title, and no listing from it is in the repository or in the comments. 3. Which store instruction the cullers use for their indirect records (deduced strictly from repository code + #258 / #264 reports, without inspecting any game files): - In `crates/victory-shader/src/emit/lower.rs:12595`, `Lower::view_stride` (`t255` `VIEW_STRIDES`) is only read when `!typed`: `Some(i) if used.is_none_or(|u| u.stride == 0) && !typed => { let stride = self.view_stride(src)?; ... }` - Formatted stores (`buffer_store_format_*`) have `typed == true`, so they bypass `view_stride` completely and emit `bufferStore.f32` (word 1 `textureViewID`). Untyped indexed stores (`buffer_store_dword* ... idxen` on a view without static stride metadata) have `!typed`, multiply `index * view_stride`, and emit `rawBufferStore.i32` (word 0 `gpuVA`). - Since @Ketan-Kapse reported in #258 / #264 that binding `t255` (`VIEW_STRIDES`) alone caused the cullers' indirect-argument records to populate on Metal, the cullers must write those records with untyped indexed stores (`buffer_store_dword* ... idxen`), while #278 covers shaders that genuinely use `buffer_load_format_*` / `buffer_store_format_*` / typed-buffer `getDimensions` (now lazily materialized only when a bound shader's DXIL uses `TypedBuffer`).
github-actions[bot] commented 2026-11-27 10:49:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T10:49:03Z.


Claimed by @Sheffy007. Open a draft pull request with Refs #255 in its description within 24 hours, or the claim expires.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7216340441 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7216340441). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-27T10:49:03Z. --- Claimed by @Sheffy007. Open a draft pull request with `Refs #255` in its description within 24 hours, or the claim expires.
Sheffy007 commented 2026-11-27 15:04:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sheffy007 on 2026-11-27T15:04:14Z.


/release

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7221585302 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7221585302). Originally posted by [Sheffy007](https://github.com/Sheffy007) on 2026-11-27T15:04:14Z. --- /release
github-actions[bot] commented 2026-11-27 15:04:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T15:04:23Z.


Released. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7221588621 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7221588621). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-27T15:04:23Z. --- Released. This issue is free to claim.
tiagonogueiraa-bit commented 2026-11-27 17:11:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T17:11:34Z.


Status check on main b998bb6: #264 (the view-stride table) and #278 (typed loads and stores) are merged. heap_tests::formatted_buffer_stores_and_loads_through_structured_and_typed_uavs passes on Metal (M-series, MSC 4.0 beta 3). That test covers formatted and dword stores and loads with idxen through a 16-byte structured view, R32G32B32A32_UINT, R32G32B32A32_FLOAT and R8G8B8A8_UNORM writable buffer views, all made with create_placed_uav. As far as the synthetic cases go, this report looks resolved. The format the title binds in a world frame was never confirmed; that needs a descriptor trace from a run. Closing is up to you.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7224131249 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7224131249). Originally posted by [tiagonogueiraa-bit](https://github.com/tiagonogueiraa-bit) on 2026-11-27T17:11:34Z. --- Status check on main `b998bb6`: #264 (the view-stride table) and #278 (typed loads and stores) are merged. `heap_tests::formatted_buffer_stores_and_loads_through_structured_and_typed_uavs` passes on Metal (M-series, MSC 4.0 beta 3). That test covers formatted and dword stores and loads with `idxen` through a 16-byte structured view, `R32G32B32A32_UINT`, `R32G32B32A32_FLOAT` and `R8G8B8A8_UNORM` writable buffer views, all made with `create_placed_uav`. As far as the synthetic cases go, this report looks resolved. The format the title binds in a world frame was never confirmed; that needs a descriptor trace from a run. Closing is up to you.
theappartment commented 2026-11-27 18:01:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by theappartment on 2026-11-27T18:01:17Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7225032923 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7225032923). Originally posted by [theappartment](https://github.com/theappartment) on 2026-11-27T18:01:17Z. --- /claim
github-actions[bot] commented 2026-11-27 18:01:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T18:01:26Z.


Claimed by @theappartment. Open a draft pull request with Refs #255 in its description within 24 hours, or the claim expires.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7225035866 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7225035866). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-27T18:01:26Z. --- Claimed by @theappartment. Open a draft pull request with `Refs #255` in its description within 24 hours, or the claim expires.
github-actions[bot] commented 2026-11-28 18:59:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T18:59:30Z.


The claim by @theappartment has expired: no pull request referenced it within 24 hours. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7244206183 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/255#issuecomment-7244206183). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T18:59:30Z. --- The claim by @theappartment has expired: no pull request referenced it within 24 hours. This issue is free to claim.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS#255
No description provided.