diff options
| author | abilliontokens <39147239+abilliontokens@users.noreply.github.com> | 2026-11-21 22:40:16 -0800 |
|---|---|---|
| committer | abilliontokens <39147239+abilliontokens@users.noreply.github.com> | 2026-11-21 22:40:16 -0800 |
| commit | 9c7e223a3c964430d515f14a6ba918b44381d034 (patch) | |
| tree | 3bb57eef521efa3869fe3ce82448fa284152fb95 /runtime/test/command_list_test.cpp | |
| parent | 01c0a564855f8082f60577ca41b0971b24be4183 (diff) | |
D3D-90: castable formats on placed resources (CreatePlacedResource2)
The placed half of D3D-85: CreatePlacedResource1/2 wrap the placed path, and 2 carries NumCastableFormats/pCastableFormats exactly as CreateCommittedResource3 does. The castable list is mapped by a shared helper (also used by the committed path) that refuses unmapped formats and casts whose texel size differs from the resource's, matching the host's E_INVALIDARG and avoiding a size-mismatched VkImageFormatListCreateInfo. A typed UNORM texture with a castable list also accepts an RTV in a listed RGBA8 family format, cleared through the same reinterpretation a typeless RTV uses.
Diffstat (limited to 'runtime/test/command_list_test.cpp')
0 files changed, 0 insertions, 0 deletions