From 572658db5dd4e76bebfe0b2986839ebbcbb572bd Mon Sep 17 00:00:00 2001 From: Troels Gram <45700631+mstrgram@users.noreply.github.com> Date: Wed, 24 Sep 2025 09:17:53 -0700 Subject: [PATCH] Update memory type description for UAV clearing (ClearUAVFloat) --- ...2-id3d12graphicscommandlist-clearunorderedaccessviewfloat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-api-src/content/d3d12/nf-d3d12-id3d12graphicscommandlist-clearunorderedaccessviewfloat.md b/sdk-api-src/content/d3d12/nf-d3d12-id3d12graphicscommandlist-clearunorderedaccessviewfloat.md index 9ef41ec0c1e2..961443a9356e 100644 --- a/sdk-api-src/content/d3d12/nf-d3d12-id3d12graphicscommandlist-clearunorderedaccessviewfloat.md +++ b/sdk-api-src/content/d3d12/nf-d3d12-id3d12graphicscommandlist-clearunorderedaccessviewfloat.md @@ -67,7 +67,7 @@ Type: [in] **[D3D12_CPU_DESCRIPTOR_HANDLE](./ns-d3d12-d3d12_cpu_descriptor_handl A [D3D12_CPU_DESCRIPTOR_HANDLE](./ns-d3d12-d3d12_cpu_descriptor_handle.md) in a non-shader visible descriptor heap that references an initialized descriptor for the unordered-access view (UAV) that is to be cleared. > [!IMPORTANT] -> This descriptor must not be in a shader-visible descriptor heap. This is to allow drivers that implement the clear as a fixed-function hardware operation (rather than as a dispatch) to efficiently read from the descriptor, as shader-visible heaps may be created in **WRITE_BACK** memory (similar to **D3D12_HEAP_TYPE_UPLOAD** heap types), and CPU reads from this type of memory are prohibitively slow. +> This descriptor must not be in a shader-visible descriptor heap. This is to allow drivers that implement the clear as a fixed-function hardware operation (rather than as a dispatch) to efficiently read from the descriptor, as shader-visible heaps may be created in **WRITE_COMBINE** memory (similar to **D3D12_HEAP_TYPE_UPLOAD** heap types), and CPU reads from this type of memory are prohibitively slow. ### -param pResource