dozen: Increase optimalBufferCopy*Alignment
D3D12 requires the offset to be 512B-aligned and row pitch to be 256B-aligned for copy commands. There will need to be a fallback written eventually because Vulkan has no such requirements but these will remain the optimal limits as they allow using the D3D12 copy commands directly. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17388>
This commit is contained in:
parent
8faf3781c8
commit
14dd5bd2cb
|
@ -1501,8 +1501,8 @@ dzn_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
|||
.lineWidthGranularity = 0.0f,
|
||||
.strictLines = 0,
|
||||
.standardSampleLocations = false,
|
||||
.optimalBufferCopyOffsetAlignment = 1,
|
||||
.optimalBufferCopyRowPitchAlignment = 1,
|
||||
.optimalBufferCopyOffsetAlignment = D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT,
|
||||
.optimalBufferCopyRowPitchAlignment = D3D12_TEXTURE_DATA_PITCH_ALIGNMENT,
|
||||
.nonCoherentAtomSize = 256,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue