diff options
| author | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-23 17:17:22 +0100 |
|---|---|---|
| committer | Mumogg <104529023+Mumogg@users.noreply.github.com> | 2026-11-24 03:52:20 -0600 |
| commit | 69b46dfccbb84c55db31c41be6c752526c2160bd (patch) | |
| tree | c871de454645df53168de6eb1c2a908303cc15ad /runtime/src/bcpack.cpp | |
| parent | c8247cdfa384189ed28512aa157663f4db152273 (diff) | |
d3d12_xs: read the console argument type as its 32 bits (clang-cl)
105 is outside D3D12_INDIRECT_ARGUMENT_TYPE's range [0, 15], so clang-cl
rejects a constant expression that casts it to the enum (reported by
umnitus on #7163). The handler now reads each argument's Type field as a
uint32_t through memcpy and compares it with 105; the test writes and reads
the raw value the same way, and the mock records it the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 084c8c60e7e839d0caefaaeccf41a6348b062cf1)
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions