From b28656edafefc61e354bc056483395c69454b642 Mon Sep 17 00:00:00 2001 From: Adam Miles Date: Mon, 24 Nov 2025 16:16:00 +0000 Subject: [PATCH] Clarify offset alignment requirement for subresource Added alignment requirement for subresource offset. --- .../d3d12/ns-d3d12-d3d12_placed_subresource_footprint.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk-api-src/content/d3d12/ns-d3d12-d3d12_placed_subresource_footprint.md b/sdk-api-src/content/d3d12/ns-d3d12-d3d12_placed_subresource_footprint.md index 06696c172e96..9da924acc6fe 100644 --- a/sdk-api-src/content/d3d12/ns-d3d12-d3d12_placed_subresource_footprint.md +++ b/sdk-api-src/content/d3d12/ns-d3d12-d3d12_placed_subresource_footprint.md @@ -57,7 +57,9 @@ Describes the footprint of a placed subresource, including the offset and the D3 ### -field Offset The offset of the subresource within the parent resource, in bytes. - The offset between the start of the parent resource and this subresource. + The offset between the start of the parent resource and this subresource. + +This value must be aligned to D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT (512) unless D3D12_FEATURE_DATA_D3D12_OPTIONS13::UnrestrictedBufferTextureCopyPitchSupported is TRUE. ### -field Footprint @@ -78,4 +80,4 @@ When copying textures, use this structure along with Core Structures \ No newline at end of file +Core Structures