D3D12.X: preserve pipeline flags from translated compute streams #2607

Open
opened 2026-11-26 05:34:45 +00:00 by github-bot · 3 comments
Owner

@⁠KOLESNiii on GitHub · 2026-11-26 01:31 UTC · original

Part of #2508 (Pipeline Rebuild). Verified on main at b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7.

The console-CS branch of stream_pipeline starts with a zeroed compute descriptor and copies the root signature, CS bytecode and node mask. It ignores the FLAGS subobject (type 20). The resulting descriptor goes into dev_create_compute_pso. Legacy compute creation preserves Flags, and the native cache uses flags in both RAM and disk identity. The same requested flags therefore take different paths depending on the entry point. Compute stream conversion · Entry point · Driver descriptor and cache

Preserve supported compute flags or explicitly report any normalization needed for console-only values. A synthetic stream with an explicit nonzero FLAGS subobject can assert the descriptor passed to native creation and compare its key with the equivalent legacy input. This also gives #2453 a reliable runtime value for its offline parity checks. Related to #1661 and #2600. Title usage and timing remain unmeasured.

AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for static review and drafting.

**@⁠KOLESNiii** on GitHub · 2026-11-26 01:31 UTC · [original](https://github.com/xcl-dev/xcl/issues/2607) Part of #2508 (Pipeline Rebuild). Verified on `main` at `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`. The console-CS branch of `stream_pipeline` starts with a zeroed compute descriptor and copies the root signature, CS bytecode and node mask. It ignores the FLAGS subobject (type 20). The resulting descriptor goes into `dev_create_compute_pso`. Legacy compute creation preserves `Flags`, and the native cache uses flags in both RAM and disk identity. The same requested flags therefore take different paths depending on the entry point. [Compute stream conversion](https://github.com/xcl-dev/xcl/blob/b49be18/crates/xcl/src/hle/d3d12x/real.rs#L6642-L6664) · [Entry point](https://github.com/xcl-dev/xcl/blob/b49be18/crates/xcl/src/hle/d3d12x/real.rs#L6814-L6817) · [Driver descriptor and cache](https://github.com/xcl-dev/xcl/blob/b49be18/crates/xcl/src/hle/d3d12x/real.rs#L4418-L4432) Preserve supported compute flags or explicitly report any normalization needed for console-only values. A synthetic stream with an explicit nonzero FLAGS subobject can assert the descriptor passed to native creation and compare its key with the equivalent legacy input. This also gives #2453 a reliable runtime value for its offline parity checks. Related to #1661 and #2600. Title usage and timing remain unmeasured. AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for static review and drafting.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:34:45 +00:00
Author
Owner

@⁠oni-swr on GitHub · 2026-11-26 01:52 UTC · original

Claiming #2607: preserve supported flags on translated compute PSO streams and verify descriptor/cache-key parity with synthetic CPU tests.
AI use: Claude Code (Claude Opus 5.5), coordinated by Codex (gpt-6.2-sol).

**@⁠oni-swr** on GitHub · 2026-11-26 01:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/2607#issuecomment-7180238368) Claiming #2607: preserve supported flags on translated compute PSO streams and verify descriptor/cache-key parity with synthetic CPU tests. AI use: Claude Code (Claude Opus 5.5), coordinated by Codex (gpt-6.2-sol).
Author
Owner

@⁠oni-swr on GitHub · 2026-11-26 06:39 UTC · original

Claiming independent Windows RX 7800 XT verification of PR #2693 at ab87bf62, with a synthetic stream-flags check and an exact-parent control.
AI use: Claude Code (Claude Sonnet 5.5, planned test run), coordinated by Codex (gpt-6.2-sol).

**@⁠oni-swr** on GitHub · 2026-11-26 06:39 UTC · [original](https://github.com/xcl-dev/xcl/issues/2607#issuecomment-7184646712) Claiming independent Windows RX 7800 XT verification of PR #2693 at ab87bf62, with a synthetic stream-flags check and an exact-parent control. AI use: Claude Code (Claude Sonnet 5.5, planned test run), coordinated by Codex (gpt-6.2-sol).
Author
Owner

@⁠oni-swr on GitHub · 2026-11-26 07:00 UTC · original

Independent RX 7800 XT verification of #2693 at ab87bf62 (parent b49be183) is posted: #2693
Synthetic only: suite 1435 passed / 1 failed (seed 722, same as the parent) / 47 ignored, 7 SKIPPED; the stream-flags test fails on the parent without the fix and passes on the head.
AI use: Claude Code (Claude Sonnet 5.5), coordinated by Codex (gpt-6.2-sol).

**@⁠oni-swr** on GitHub · 2026-11-26 07:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/2607#issuecomment-7184995099) Independent RX 7800 XT verification of #2693 at `ab87bf62` (parent `b49be183`) is posted: https://git.gtahub.st/github/xcl-dev--xcl/pulls/2693 Synthetic only: suite 1435 passed / 1 failed (seed 722, same as the parent) / 47 ignored, 7 SKIPPED; the stream-flags test fails on the parent without the fix and passes on the head. AI use: Claude Code (Claude Sonnet 5.5), coordinated by Codex (gpt-6.2-sol).
This discussion has been locked. Commenting is limited to contributors.
No description provided.