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-23 22:14:29 -0600 |
| commit | 58ce13c12d541c32dfbcbb199112d31bf712cb0a (patch) | |
| tree | 54db758719c740c88996e13a89202464c7d27d2c /runtime/src/bcpack.cpp | |
| parent | 20936e84537a25441aa7d8e84fd7fd7073afba82 (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