diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-23 19:37:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-23 19:37:40 -0500 |
| commit | 2e471574666f6d3c4e26bd91c7b54ee91b899fe3 (patch) | |
| tree | d72e59ad7b0a2f977293cb16160a3b9d25ed218c /runtime/shims/acphal.cpp | |
| parent | 8eee35cfdccc613a1f7a10a5539d5bd3b25038ba (diff) | |
| parent | f9c68577e3c640f2f1dbd4c7b19036eaf3cbd2a4 (diff) | |
Merge pull request #2 from ExCorvus/fix/d3d12-build-breaks-and-texture-va
D3D12: fix the slot-14 and acphal build breaks, report slot-133 texture GPU VAs
Diffstat (limited to 'runtime/shims/acphal.cpp')
| -rw-r--r-- | runtime/shims/acphal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/shims/acphal.cpp b/runtime/shims/acphal.cpp index 553f57f20..5ead016d6 100644 --- a/runtime/shims/acphal.cpp +++ b/runtime/shims/acphal.cpp | |||
| @@ -141,7 +141,7 @@ struct SHAPE_XMA_CONTEXT { | |||
| 141 | uint32_t reserved1 : 6; | 141 | uint32_t reserved1 : 6; |
| 142 | uint32_t loopStartOffset : 26; | 142 | uint32_t loopStartOffset : 26; |
| 143 | uint32_t loopEndOffset : 6; | 143 | uint32_t loopEndOffset : 6; |
| 144 | uint32_t reserved[10]; | 144 | uint32_t reserved[11]; // the GDK's 64-byte context: the published field list leaves one trailing word |
| 145 | }; | 145 | }; |
| 146 | static_assert(sizeof(SHAPE_XMA_CONTEXT) == 64, "SHAPE_XMA_CONTEXT is 64 bytes per GDK"); | 146 | static_assert(sizeof(SHAPE_XMA_CONTEXT) == 64, "SHAPE_XMA_CONTEXT is 64 bytes per GDK"); |
| 147 | 147 | ||
| @@ -162,7 +162,7 @@ struct SHAPE_PCM_CONTEXT { | |||
| 162 | uint32_t reserved6 : 15; | 162 | uint32_t reserved6 : 15; |
| 163 | uint32_t format : 2; | 163 | uint32_t format : 2; |
| 164 | uint32_t reserved7 : 14; | 164 | uint32_t reserved7 : 14; |
| 165 | uint32_t reserved[1]; | 165 | uint32_t reserved[2]; // the GDK's 32-byte context: the published field list leaves one trailing word |
| 166 | }; | 166 | }; |
| 167 | static_assert(sizeof(SHAPE_PCM_CONTEXT) == 32, "SHAPE_PCM_CONTEXT is 32 bytes per GDK"); | 167 | static_assert(sizeof(SHAPE_PCM_CONTEXT) == 32, "SHAPE_PCM_CONTEXT is 32 bytes per GDK"); |
| 168 | 168 | ||