We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e450136 commit f1c4965Copy full SHA for f1c4965
wgpu-hal/src/dx12/suballocation.rs
@@ -369,7 +369,7 @@ impl<'a> DeviceAllocationContext<'a> {
369
let heap_properties = Direct3D12::D3D12_HEAP_PROPERTIES {
370
Type: Direct3D12::D3D12_HEAP_TYPE_CUSTOM,
371
CPUPageProperty: match location {
372
- MemoryLocation::GpuOnly => Direct3D12::D3D12_CPU_PAGE_PROPERTY_UNKNOWN,
+ MemoryLocation::GpuOnly => Direct3D12::D3D12_CPU_PAGE_PROPERTY_NOT_AVAILABLE,
373
MemoryLocation::CpuToGpu => Direct3D12::D3D12_CPU_PAGE_PROPERTY_WRITE_COMBINE,
374
MemoryLocation::GpuToCpu => Direct3D12::D3D12_CPU_PAGE_PROPERTY_WRITE_BACK,
375
_ => unreachable!(),
0 commit comments