shader: allow raw root SRV without a UsedResource entry #575

Open
opened 2026-11-28 05:41:18 +00:00 by github-bot · 2 comments
Owner

@⁠tarcisioads on GitHub · 2026-11-28 05:37 UTC · original

In crates/victory-shader/src/emit/lower.rs, RootType::Descriptor allows None for ResourceType on root CBVs (13) and raw root UAVs (0x100B), but requires Some(ResourceType::Srv) for raw root SRVs (11), causing a a root UAV or typed root view refusal when a compute shader loads from a raw root SRV without a UsedResource entry.

**@⁠tarcisioads** on GitHub · 2026-11-28 05:37 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/571) In `crates/victory-shader/src/emit/lower.rs`, `RootType::Descriptor` allows `None` for `ResourceType` on root CBVs (`13`) and raw root UAVs (`0x100B`), but requires `Some(ResourceType::Srv)` for raw root SRVs (`11`), causing a `a root UAV or typed root view` refusal when a compute shader loads from a raw root SRV without a `UsedResource` entry.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 05:41:19 +00:00
Author
Owner

@⁠tarcisioads on GitHub · 2026-11-28 05:37 UTC · original

/claim

**@⁠tarcisioads** on GitHub · 2026-11-28 05:37 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/571#issuecomment-7234782263) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 05:37 UTC · original

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

**@⁠github-actions[bot]** on GitHub · 2026-11-28 05:37 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/571#issuecomment-7234783867) Claimed by @⁠tarcisioads. Open a draft pull request with `Refs #571` in its description within 24 hours, or the claim expires.
This discussion has been locked. Commenting is limited to contributors.
No description provided.